summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-03 16:59:24 -0600
committerBrian Paul <[email protected]>2008-07-03 17:21:23 -0600
commitdd3311aa89035aa2e624f54b6914cfbcf57b33d7 (patch)
treee79b7dc3aee7649bb83c134dac51d74568c7268e /src
parent7366f3fc54be280969f3adef16ed67fddfe55e67 (diff)
mesa: added _vbo_VertexAttrib4f()
Diffstat (limited to 'src')
-rw-r--r--src/mesa/vbo/vbo.h2
-rw-r--r--src/mesa/vbo/vbo_exec_api.c7
2 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo.h b/src/mesa/vbo/vbo.h
index bd10956ee48..59cd7f6984d 100644
--- a/src/mesa/vbo/vbo.h
+++ b/src/mesa/vbo/vbo.h
@@ -132,5 +132,7 @@ _vbo_MultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
void
_vbo_Materialfv(GLenum face, GLenum pname, const GLfloat *params);
+void
+_vbo_VertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
#endif
diff --git a/src/mesa/vbo/vbo_exec_api.c b/src/mesa/vbo/vbo_exec_api.c
index 1e2a08bc8e1..2c2e66dd0b7 100644
--- a/src/mesa/vbo/vbo_exec_api.c
+++ b/src/mesa/vbo/vbo_exec_api.c
@@ -795,3 +795,10 @@ _vbo_Materialfv(GLenum face, GLenum pname, const GLfloat *params)
{
vbo_Materialfv(face, pname, params);
}
+
+
+void
+_vbo_VertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
+{
+ vbo_VertexAttrib4fARB(index, x, y, z, w);
+}