missed the windowproc return value
authorDiederick Niehorster <dcnieho@gmail.com>
Fri, 1 Mar 2013 18:43:22 +0000 (18:43 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Fri, 1 Mar 2013 18:43:22 +0000 (18:43 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1547 7f0cb862-5218-0410-a997-914c9d46530a

src/mswin/fg_main_mswin.c

index c9c0ccf..ea56131 100644 (file)
@@ -663,6 +663,7 @@ LRESULT CALLBACK fgPlatformWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPAR
             fghRedrawWindow( window );
             EndPaint( hWnd, &ps );
         }
+        lRet = 0;   /* As per docs, should return 0 */
     }
     break;