summaryrefslogtreecommitdiffstats
path: root/progs/util/extfuncs.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-01-16 14:57:12 -0700
committerBrian <[email protected]>2007-01-16 14:57:12 -0700
commit9d0ae967d42f968b4b41d6847e4d678930ebe8bf (patch)
treeaffc7e55bc252294244ce808e852b38731bc27f9 /progs/util/extfuncs.h
parentf44ba11815fecedbbcd9eaaa9c43d2fd6537b88e (diff)
added some VerteAttrib funcs
Diffstat (limited to 'progs/util/extfuncs.h')
-rw-r--r--progs/util/extfuncs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/util/extfuncs.h b/progs/util/extfuncs.h
index a844ef568f6..f5ea5feaa84 100644
--- a/progs/util/extfuncs.h
+++ b/progs/util/extfuncs.h
@@ -33,7 +33,10 @@ static PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv_func = NULL;
static PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv_func = NULL;
static PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv_func = NULL;
static PFNGLUSEPROGRAMPROC glUseProgram_func = NULL;
+static PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f_func = NULL;
static PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f_func = NULL;
+static PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f_func = NULL;
+static PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f_func = NULL;
/* GL_ARB_vertex/fragment_program */
@@ -88,7 +91,10 @@ GetExtensionFuncs(void)
glUniformMatrix3fv_func = (PFNGLUNIFORMMATRIX3FVPROC) glutGetProcAddress("glUniformMatrix3fv");
glUniformMatrix4fv_func = (PFNGLUNIFORMMATRIX4FVPROC) glutGetProcAddress("glUniformMatrix4fv");
glUseProgram_func = (PFNGLUSEPROGRAMPROC) glutGetProcAddress("glUseProgram");
+ glVertexAttrib1f_func = (PFNGLVERTEXATTRIB1FPROC) glutGetProcAddress("glVertexAttrib1f");
glVertexAttrib2f_func = (PFNGLVERTEXATTRIB2FPROC) glutGetProcAddress("glVertexAttrib2f");
+ glVertexAttrib3f_func = (PFNGLVERTEXATTRIB3FPROC) glutGetProcAddress("glVertexAttrib3f");
+ glVertexAttrib4f_func = (PFNGLVERTEXATTRIB4FPROC) glutGetProcAddress("glVertexAttrib4f");
/* GL_ARB_vertex/fragment_program */