added glUniform1i_func
authorBrian <brian@yutani.localnet.net>
Thu, 4 Jan 2007 21:40:56 +0000 (14:40 -0700)
committerBrian <brian@yutani.localnet.net>
Thu, 4 Jan 2007 21:40:56 +0000 (14:40 -0700)
progs/util/extfuncs.h

index 97f7f7d43a291cbf48fa542538258fd346835470..339dbbdea63a0c00e1a7e5b24c0411d0481bab71 100644 (file)
@@ -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");