Fix eglInitialize check
[freeglut] / src / fg_window.c
index 06efa03..9a980f8 100644 (file)
@@ -145,6 +145,8 @@ void fgOpenWindow( SFG_Window* window, const char* title,
         glReadBuffer ( GL_FRONT );
     }
 #endif
+    window->Window.attribute_v_coord = -1;
+    window->Window.attribute_v_normal = -1;
 }
 
 /*