svn path=/trunk/boinc/; revision=916
This commit is contained in:
Eric Heien 2003-02-14 19:25:42 +00:00
parent d20cf05ccb
commit b440c13ffa
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ BOOL CreateGLWindow(char* title, int width, int height, int bits, bool initially
SetFocus(hWnd); // Sets Keyboard Focus To The Window
ReSizeGLScene(width, height); // Set Up Our Perspective GL Screen
if (!InitGL()) { // Initialize Our Newly Created GL Window
if (InitGL() != GL_NO_ERROR) { // Initialize Our Newly Created GL Window
KillGLWindow(); // Reset The Display
MessageBox(NULL,"Initialization Failed.","ERROR",MB_OK|MB_ICONEXCLAMATION);
return FALSE; // Return FALSE