From: Richard Rauch Date: Fri, 31 Oct 2003 06:25:34 +0000 (+0000) Subject: Missed a few say-nothing-new comments in fgOpenWindow(). X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=ef4947e0c438b9e91ef39bdc962c8add6db6d1a7;p=freeglut Missed a few say-nothing-new comments in fgOpenWindow(). Eeep. Should be better now. (^& git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@277 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_window.c b/src/freeglut_window.c index 6125032..17a95e2 100644 --- a/src/freeglut_window.c +++ b/src/freeglut_window.c @@ -524,32 +524,21 @@ void fgOpenWindow( SFG_Window* window, const char* title, if( !( window->Window.Handle ) ) fgError( "Failed to create a window (%s)!", title ); - /* - * Show and update the main window. Hide(???) the mouse cursor. - */ ShowWindow( window->Window.Handle, fgState.ForceIconic ? SW_SHOWMINIMIZED : SW_SHOW ); UpdateWindow( window->Window.Handle ); - ShowCursor( TRUE ); + ShowCursor( TRUE ); /* XXX Old comments say "hide cusror"! */ #endif window->Window.DoubleBuffered = ( fgState.DisplayMode & GLUT_DOUBLE ) ? 1 : 0 ; - /* - * If it's not double-buffered, make sure the rendering is done to the - * front buffer. - */ if ( ! window->Window.DoubleBuffered ) { glDrawBuffer ( GL_FRONT ) ; glReadBuffer ( GL_FRONT ) ; } - - /* - * Set the newly created window as the current one - */ fgSetWindow( window ); }