X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=freeglut-1.3%2Ffreeglut_main.c;h=b002dabafc59ac049afc156e7e1c24265268e1d3;hb=53a4e301b98d6945e64648e6f0d1d9b823c9bc7d;hp=942a3b61be210e04ae6a4dacc0e8d011bb9c718e;hpb=d0dde87efb130eeb45fe61dd63b582432b972606;p=freeglut diff --git a/freeglut-1.3/freeglut_main.c b/freeglut-1.3/freeglut_main.c index 942a3b6..b002dab 100644 --- a/freeglut-1.3/freeglut_main.c +++ b/freeglut-1.3/freeglut_main.c @@ -139,7 +139,7 @@ static void fghcbDisplayWindow( SFG_Window *window, SFG_Enumerator *enumerator ) /* * Check if there is an idle callback hooked */ -// # warning there is a redisplay hack here (see the code commented out) +# warning there is a redisplay hack here (see the code commented out) if( (window->Callbacks.Display != NULL) && /*(window->State.Redisplay == TRUE) &&*/ (window->State.Visible == TRUE) ) @@ -914,7 +914,7 @@ LRESULT CALLBACK fgWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPara * The window structure is passed as the creation structure paramter... */ window = (SFG_Window *) (((LPCREATESTRUCT) lParam)->lpCreateParams); - g_assert( window != NULL ); + assert( window != NULL ); /* * We can safely store the window's handle now: