From bf4a53a72e5760184d9b9389262564921770f7b7 Mon Sep 17 00:00:00 2001 From: dcnieho Date: Fri, 1 Mar 2013 18:43:22 +0000 Subject: [PATCH] missed the windowproc return value git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1547 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/mswin/fg_main_mswin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/freeglut/freeglut/src/mswin/fg_main_mswin.c b/freeglut/freeglut/src/mswin/fg_main_mswin.c index c9c0ccf..ea56131 100644 --- a/freeglut/freeglut/src/mswin/fg_main_mswin.c +++ b/freeglut/freeglut/src/mswin/fg_main_mswin.c @@ -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;