X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffg_geometry.c;h=96f171e26b54f357635f0df25cd23b77adc27798;hb=17ea48c4626b0b2846df89b44b51b14db6371e41;hp=11bde1cec81e10892c23264303a03aba5fd9e95e;hpb=7e0a8e93d578a3609fc84a68a2c57201e58f8ecc;p=freeglut diff --git a/src/fg_geometry.c b/src/fg_geometry.c index 11bde1c..96f171e 100644 --- a/src/fg_geometry.c +++ b/src/fg_geometry.c @@ -186,7 +186,7 @@ void fghDrawGeometrySolid(GLfloat *vertices, GLfloat *normals, GLfloat *textcs, { GLint attribute_v_coord = fgStructure.CurrentWindow->Window.attribute_v_coord; GLint attribute_v_normal = fgStructure.CurrentWindow->Window.attribute_v_normal; - GLint attribute_v_texture = -1; // TODO!!! + GLint attribute_v_texture = fgStructure.CurrentWindow->Window.attribute_v_texture; if (fgStructure.CurrentWindow->State.VisualizeNormals) /* generate normals for each vertex to be drawn as well */