From 1ff1e89ff4abf15be9442f06e5123547d1e64a5a Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 20 Dec 2006 17:56:29 -0700 Subject: added glUniformMatrix2/3fv_func --- progs/util/extfuncs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'progs/util') diff --git a/progs/util/extfuncs.h b/progs/util/extfuncs.h index cf6d8f8e110..97f7f7d43a2 100644 --- a/progs/util/extfuncs.h +++ b/progs/util/extfuncs.h @@ -24,6 +24,8 @@ static PFNGLLINKPROGRAMPROC glLinkProgram_func = NULL; static PFNGLSHADERSOURCEPROC glShaderSource_func = NULL; static PFNGLUNIFORM3FVPROC glUniform3fv_func = NULL; static PFNGLUNIFORM3FVPROC glUniform4fv_func = NULL; +static PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv_func = NULL; +static PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv_func = NULL; static PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv_func = NULL; static PFNGLUSEPROGRAMPROC glUseProgram_func = NULL; @@ -70,6 +72,8 @@ GetExtensionFuncs(void) glShaderSource_func = (PFNGLSHADERSOURCEPROC) glutGetProcAddress("glShaderSource"); glUniform3fv_func = (PFNGLUNIFORM3FVPROC) glutGetProcAddress("glUniform3fv"); glUniform4fv_func = (PFNGLUNIFORM3FVPROC) glutGetProcAddress("glUniform4fv"); + glUniformMatrix2fv_func = (PFNGLUNIFORMMATRIX2FVPROC) glutGetProcAddress("glUniformMatrix2fv"); + glUniformMatrix3fv_func = (PFNGLUNIFORMMATRIX3FVPROC) glutGetProcAddress("glUniformMatrix3fv"); glUniformMatrix4fv_func = (PFNGLUNIFORMMATRIX4FVPROC) glutGetProcAddress("glUniformMatrix4fv"); glUseProgram_func = (PFNGLUSEPROGRAMPROC) glutGetProcAddress("glUseProgram"); -- cgit v1.2.3