one more g_assert removed
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@16 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
b303b5b50b
commit
b6bc09e2f7
@ -188,7 +188,7 @@ void fgInitialize( const char* displayName )
|
||||
* Register the window class
|
||||
*/
|
||||
retval = RegisterClass( &wc );
|
||||
g_assert( retval != FALSE );
|
||||
assert( retval != FALSE );
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -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:
|
||||
|
Reference in New Issue
Block a user