implement setter for texture coord 2 (u,v) vertex attribute so it can be used by...
[freeglut] / src / fg_window.c
index ad151cf..711defb 100644 (file)
@@ -148,6 +148,7 @@ void fgOpenWindow( SFG_Window* window, const char* title,
 #endif
     window->Window.attribute_v_coord = -1;
     window->Window.attribute_v_normal = -1;
+    window->Window.attribute_v_texture = -1;
 
     fgInitGL2();