summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-04-07 14:52:53 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-04-07 14:52:53 +0000
commit521b6d711720872ed28fa62248c29274cc98f95a (patch)
tree75194aed8a38116a50f4ef57b177bc8624d0c685
parent92012f068f72679d5b1a31cbef90885740c0e718 (diff)
loopback_VertexAttrib4svNV fix from trunk
-rw-r--r--src/mesa/main/api_loopback.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/main/api_loopback.c b/src/mesa/main/api_loopback.c
index 9805c59aa4..d86a825f90 100644
--- a/src/mesa/main/api_loopback.c
+++ b/src/mesa/main/api_loopback.c
@@ -1,9 +1,8 @@
-
/*
* Mesa 3-D graphics library
- * Version: 4.1
+ * Version: 5.0.2
*
- * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -1504,7 +1503,7 @@ 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