diff options
author | Brian <[email protected]> | 2007-01-04 14:40:56 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-01-04 14:40:56 -0700 |
commit | 7b4d10b4a353f6fabd2dfc8030ffcd2dcff5b1c7 (patch) | |
tree | 39233fa501596a2604c76e767f2cf8b99bb16a61 /progs/util | |
parent | e64030060292cdab97096ee3924ef18b1f71111f (diff) |
added glUniform1i_func
Diffstat (limited to 'progs/util')
-rw-r--r-- | progs/util/extfuncs.h | 4 |
1 files changed, 3 insertions, 1 deletions
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"); |