X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffg_gl2.c;h=4ef87be392a7a7345bb2c941a0a3bc8cc76f4066;hb=a00c7ee3552b527ac6b375d6a6ca42f90770ddc3;hp=deb4bb2abcdc01591a3086e3465e504caa34edfd;hpb=cb1e59cf5e6ac8034ae91abfd320874004a44c88;p=freeglut diff --git a/src/fg_gl2.c b/src/fg_gl2.c index deb4bb2..4ef87be 100644 --- a/src/fg_gl2.c +++ b/src/fg_gl2.c @@ -37,6 +37,11 @@ void FGAPIENTRY glutSetVertexAttribNormal(GLint attrib) { fgStructure.CurrentWindow->Window.attribute_v_normal = attrib; } +void FGAPIENTRY glutSetVertexAttribTexCoord2(GLint attrib) { + if (fgStructure.CurrentWindow != NULL) + fgStructure.CurrentWindow->Window.attribute_v_texture = attrib; +} + void fgInitGL2() { #ifndef GL_ES_VERSION_2_0 fgState.HasOpenGL20 = 0;