diff options
author | Keith Whitwell <[email protected]> | 2003-04-05 07:29:23 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2003-04-05 07:29:23 +0000 |
commit | 33ce405e8678f7f939b1aba21487a5f42a17bda2 (patch) | |
tree | d63a68770734d80131ac2c68fc104727f74008d5 /src | |
parent | c0eebd723f21228b31c4e936c85ae5ab3d621b67 (diff) |
Pass 4th element correctly in loopback_VertexAttrib4svNV
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/api_loopback.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/main/api_loopback.c b/src/mesa/main/api_loopback.c index 4c3451655ad..861d0b47916 100644 --- a/src/mesa/main/api_loopback.c +++ b/src/mesa/main/api_loopback.c @@ -1,4 +1,4 @@ -/* $Id: api_loopback.c,v 1.17 2002/10/29 20:28:43 brianp Exp $ */ +/* $Id: api_loopback.c,v 1.18 2003/04/05 07:29:23 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -1505,7 +1505,8 @@ loopback_VertexAttrib3dvNV(GLuint index, const GLdouble *v) static void loopback_VertexAttrib4svNV(GLuint index, const GLshort *v) { - ATTRIB(index, (GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], 1.0F); + ATTRIB(index, (GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], + (GLfloat)v[3]); } static void |