summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_loopback.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-10-29 04:00:50 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-10-29 04:00:50 +0000
commit7faf519233aaea368f0e5ea28fe35ff011ca9f15 (patch)
tree8aad9068b21e0bd1f6fde483aa159e182b781c5a /src/mesa/main/api_loopback.c
parent0b8acd90b3442d405962240d0e45b31b2d6dd597 (diff)
downloadexternal_mesa3d-7faf519233aaea368f0e5ea28fe35ff011ca9f15.zip
external_mesa3d-7faf519233aaea368f0e5ea28fe35ff011ca9f15.tar.gz
external_mesa3d-7faf519233aaea368f0e5ea28fe35ff011ca9f15.tar.bz2
VertexAttrib3svNV was incorrect
Diffstat (limited to 'src/mesa/main/api_loopback.c')
-rw-r--r--src/mesa/main/api_loopback.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/api_loopback.c b/src/mesa/main/api_loopback.c
index 0c21302..3281caf 100644
--- a/src/mesa/main/api_loopback.c
+++ b/src/mesa/main/api_loopback.c
@@ -6,7 +6,7 @@
/*
* Mesa 3-D graphics library
- * Version: 6.1
+ * Version: 6.3
*
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
@@ -1066,7 +1066,7 @@ loopback_VertexAttrib2dNV(GLuint index, GLdouble x, GLdouble y)
static void GLAPIENTRY
loopback_VertexAttrib3sNV(GLuint index, GLshort x, GLshort y, GLshort z)
{
- ATTRIB3(index, (GLfloat) x, y, z);
+ ATTRIB3(index, (GLfloat) x, (GLfloat) y, (GLfloat) z);
}
static void GLAPIENTRY
@@ -1139,7 +1139,7 @@ loopback_VertexAttrib2dvNV(GLuint index, const GLdouble *v)
static void GLAPIENTRY
loopback_VertexAttrib3svNV(GLuint index, const GLshort *v)
{
- ATTRIB2(index, (GLfloat) v[0], (GLfloat) v[1]);
+ ATTRIB3(index, (GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2]);
}
static void GLAPIENTRY