From b6bc09e2f7189fb15da935c566090b9742fccdf0 Mon Sep 17 00:00:00 2001 From: andi75 Date: Mon, 30 Jul 2001 15:22:51 +0000 Subject: [PATCH] one more g_assert removed git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@16 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/freeglut-1.3/freeglut_init.c | 2 +- freeglut/freeglut/freeglut-1.3/freeglut_main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: