should return zero after processing any of the mouse button down or up
authorDiederick Niehorster <dcnieho@gmail.com>
Wed, 27 Feb 2013 08:18:09 +0000 (08:18 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Wed, 27 Feb 2013 08:18:09 +0000 (08:18 +0000)
events

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1522 7f0cb862-5218-0410-a997-914c9d46530a

src/mswin/fg_main_mswin.c

index d304169..560b404 100644 (file)
@@ -765,6 +765,9 @@ LRESULT CALLBACK fgPlatformWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPAR
         );
 
         fgState.Modifiers = INVALID_MODIFIERS;
+
+        /* As per docs, should return zero */
+        lRet = 0;
     }
     break;