mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: sigh.. this one was hidden :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5932 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
192c5d2c4a
commit
30d5135fdd
|
@ -89,6 +89,7 @@ void GSWndGL::PopulateGlFunction()
|
||||||
*(void**)&(gl_GetProgramPipelineInfoLog) = GetProcAddress("glGetProgramPipelineInfoLog", true);
|
*(void**)&(gl_GetProgramPipelineInfoLog) = GetProcAddress("glGetProgramPipelineInfoLog", true);
|
||||||
*(void**)&(gl_ValidateProgramPipeline) = GetProcAddress("glValidateProgramPipeline", true);
|
*(void**)&(gl_ValidateProgramPipeline) = GetProcAddress("glValidateProgramPipeline", true);
|
||||||
*(void**)&(gl_UseProgramStages) = GetProcAddress("glUseProgramStages", true);
|
*(void**)&(gl_UseProgramStages) = GetProcAddress("glUseProgramStages", true);
|
||||||
|
*(void**)&(gl_ProgramUniform1i) = GetProcAddress("glProgramUniform1i", true); // but no GL4.2
|
||||||
// NO GL4.1
|
// NO GL4.1
|
||||||
*(void**)&(gl_DeleteProgram) = GetProcAddress("glDeleteProgram");
|
*(void**)&(gl_DeleteProgram) = GetProcAddress("glDeleteProgram");
|
||||||
*(void**)&(gl_DeleteShader) = GetProcAddress("glDeleteShader");
|
*(void**)&(gl_DeleteShader) = GetProcAddress("glDeleteShader");
|
||||||
|
@ -97,7 +98,6 @@ void GSWndGL::PopulateGlFunction()
|
||||||
*(void**)&(gl_CreateShader) = GetProcAddress("glCreateShader");
|
*(void**)&(gl_CreateShader) = GetProcAddress("glCreateShader");
|
||||||
*(void**)&(gl_UseProgram) = GetProcAddress("glUseProgram");
|
*(void**)&(gl_UseProgram) = GetProcAddress("glUseProgram");
|
||||||
*(void**)&(gl_GetShaderInfoLog) = GetProcAddress("glGetShaderInfoLog");
|
*(void**)&(gl_GetShaderInfoLog) = GetProcAddress("glGetShaderInfoLog");
|
||||||
*(void**)&(gl_ProgramUniform1i) = GetProcAddress("glProgramUniform1i");
|
|
||||||
*(void**)&(gl_LinkProgram) = GetProcAddress("glLinkProgram");
|
*(void**)&(gl_LinkProgram) = GetProcAddress("glLinkProgram");
|
||||||
// NO GL4.2
|
// NO GL4.2
|
||||||
*(void**)&(gl_GetUniformBlockIndex) = GetProcAddress("glGetUniformBlockIndex");
|
*(void**)&(gl_GetUniformBlockIndex) = GetProcAddress("glGetUniformBlockIndex");
|
||||||
|
|
Loading…
Reference in New Issue