Trying to fix a screen freezing bug reported by Shane "tech at saxon digital" in...
authorJohn F. Fay <johnffay@nettally.com>
Sun, 5 Feb 2012 01:41:20 +0000 (01:41 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Sun, 5 Feb 2012 01:41:20 +0000 (01:41 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1051 7f0cb862-5218-0410-a997-914c9d46530a

src/mswin/freeglut_main_mswin.c

index be48b23..8ea57b0 100644 (file)
@@ -446,6 +446,8 @@ LRESULT CALLBACK fgPlatformWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam,
 /*        printf("WM_SETFOCUS: %p\n", window ); */\r
         lRet = DefWindowProc( hWnd, uMsg, wParam, lParam );\r
         INVOKE_WCB( *window, Entry, ( GLUT_ENTERED ) );\r
+\r
+               UpdateWindow ( hWnd );\r
         break;\r
 \r
     case WM_KILLFOCUS:\r