Trying to fix a screen freezing bug reported by Shane "tech at saxon digital" in e-mail dated 2/4/12 at 3:15 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1051 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
3f963c6c1a
commit
0884264cd5
@ -446,6 +446,8 @@ LRESULT CALLBACK fgPlatformWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam,
|
|||||||
/* printf("WM_SETFOCUS: %p\n", window ); */
|
/* printf("WM_SETFOCUS: %p\n", window ); */
|
||||||
lRet = DefWindowProc( hWnd, uMsg, wParam, lParam );
|
lRet = DefWindowProc( hWnd, uMsg, wParam, lParam );
|
||||||
INVOKE_WCB( *window, Entry, ( GLUT_ENTERED ) );
|
INVOKE_WCB( *window, Entry, ( GLUT_ENTERED ) );
|
||||||
|
|
||||||
|
UpdateWindow ( hWnd );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_KILLFOCUS:
|
case WM_KILLFOCUS:
|
||||||
|
Reference in New Issue
Block a user