glTexCoord3dv was not using third coordinate
authorSean D'Epagnier <geckosenator@freedesktop.org>
Tue, 21 Nov 2006 08:48:44 +0000 (08:48 +0000)
committerSean D'Epagnier <geckosenator@freedesktop.org>
Tue, 21 Nov 2006 08:48:44 +0000 (08:48 +0000)
src/mesa/main/api_loopback.c

index 51d5af6f5f0dc5c196c77a586ca877289d3f2257..717ef1fc8f006d45cd4cb4b4a42242bb3e6445bb 100644 (file)
@@ -510,7 +510,7 @@ loopback_TexCoord2sv( const GLshort *v )
 static void GLAPIENTRY
 loopback_TexCoord3dv( const GLdouble *v )
 {
-   TEXCOORD2((GLfloat) v[0],(GLfloat) v[1]);
+   TEXCOORD3((GLfloat) v[0],(GLfloat) v[1],(GLfloat) v[2]);
 }
 
 static void GLAPIENTRY