projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0eebd7
)
Pass 4th element correctly in loopback_VertexAttrib4svNV
author
Keith Whitwell
<keith@tungstengraphics.com>
Sat, 5 Apr 2003 07:29:23 +0000
(07:29 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Sat, 5 Apr 2003 07:29:23 +0000
(07:29 +0000)
src/mesa/main/api_loopback.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/api_loopback.c
b/src/mesa/main/api_loopback.c
index 4c3451655adc0061e6ca92ac5dad383f61c04c4d..861d0b47916f1f1e0ab8ac94efe66ea1f1b73db3 100644
(file)
--- a/
src/mesa/main/api_loopback.c
+++ b/
src/mesa/main/api_loopback.c
@@
-1,4
+1,4
@@
-/* $Id: api_loopback.c,v 1.1
7 2002/10/29 20:28:43 brianp
Exp $ */
+/* $Id: api_loopback.c,v 1.1
8 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