From: Brian Date: Thu, 4 Jan 2007 21:40:56 +0000 (-0700) Subject: added glUniform1i_func X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b4d10b4a353f6fabd2dfc8030ffcd2dcff5b1c7;p=mesa.git added glUniform1i_func --- diff --git a/progs/util/extfuncs.h b/progs/util/extfuncs.h index 97f7f7d43a2..339dbbdea63 100644 --- a/progs/util/extfuncs.h +++ b/progs/util/extfuncs.h @@ -22,8 +22,9 @@ static PFNGLISPROGRAMPROC glIsProgram_func = NULL; static PFNGLISSHADERPROC glIsShader_func = NULL; static PFNGLLINKPROGRAMPROC glLinkProgram_func = NULL; static PFNGLSHADERSOURCEPROC glShaderSource_func = NULL; +static PFNGLUNIFORM1IPROC glUniform1i_func = NULL; static PFNGLUNIFORM3FVPROC glUniform3fv_func = NULL; -static PFNGLUNIFORM3FVPROC glUniform4fv_func = NULL; +static PFNGLUNIFORM4FVPROC glUniform4fv_func = NULL; static PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv_func = NULL; static PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv_func = NULL; static PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv_func = NULL; @@ -70,6 +71,7 @@ GetExtensionFuncs(void) glIsShader_func = (PFNGLISSHADERPROC) glutGetProcAddress("glIsShader"); glLinkProgram_func = (PFNGLLINKPROGRAMPROC) glutGetProcAddress("glLinkProgram"); glShaderSource_func = (PFNGLSHADERSOURCEPROC) glutGetProcAddress("glShaderSource"); + glUniform1i_func = (PFNGLUNIFORM1IPROC) glutGetProcAddress("glUniform1i"); glUniform3fv_func = (PFNGLUNIFORM3FVPROC) glutGetProcAddress("glUniform3fv"); glUniform4fv_func = (PFNGLUNIFORM3FVPROC) glutGetProcAddress("glUniform4fv"); glUniformMatrix2fv_func = (PFNGLUNIFORMMATRIX2FVPROC) glutGetProcAddress("glUniformMatrix2fv");