diff --git a/freeglut/freeglut/freeglut-1.3/freeglut_init.c b/freeglut/freeglut/freeglut-1.3/freeglut_init.c index 7cdd647..abb5c01 100644 --- a/freeglut/freeglut/freeglut-1.3/freeglut_init.c +++ b/freeglut/freeglut/freeglut-1.3/freeglut_init.c @@ -188,7 +188,7 @@ void fgInitialize( const char* displayName ) * Register the window class */ retval = RegisterClass( &wc ); - g_assert( retval != FALSE ); + assert( retval != FALSE ); } /* diff --git a/freeglut/freeglut/freeglut-1.3/freeglut_main.c b/freeglut/freeglut/freeglut-1.3/freeglut_main.c index 942a3b6..220852f 100644 --- a/freeglut/freeglut/freeglut-1.3/freeglut_main.c +++ b/freeglut/freeglut/freeglut-1.3/freeglut_main.c @@ -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: