|
|
|
@ -85,7 +85,7 @@ PFNGLLINKPROGRAMPROC nglLinkProgram;
|
|
|
|
|
PFNGLSHADERSOURCEPROC nglShaderSource;
|
|
|
|
|
PFNGLUSEPROGRAMPROC nglUseProgram;
|
|
|
|
|
PFNGLVALIDATEPROGRAMPROC nglValidateProgram;
|
|
|
|
|
PFNGLUNIFORM1FPROC nglUniform1f;
|
|
|
|
|
/*PFNGLUNIFORM1FPROC nglUniform1f;
|
|
|
|
|
PFNGLUNIFORM2FPROC nglUniform2f;
|
|
|
|
|
PFNGLUNIFORM3FPROC nglUniform3f;
|
|
|
|
|
PFNGLUNIFORM4FPROC nglUniform4f;
|
|
|
|
@ -103,16 +103,8 @@ PFNGLUNIFORM3IVPROC nglUniform3iv;
|
|
|
|
|
PFNGLUNIFORM4IVPROC nglUniform4iv;
|
|
|
|
|
PFNGLUNIFORMMATRIX2FVPROC nglUniformMatrix2fv;
|
|
|
|
|
PFNGLUNIFORMMATRIX3FVPROC nglUniformMatrix3fv;
|
|
|
|
|
PFNGLUNIFORMMATRIX4FVPROC nglUniformMatrix4fv;
|
|
|
|
|
PFNGLUNIFORMMATRIX4FVPROC nglUniformMatrix4fv;*/
|
|
|
|
|
PFNGLVERTEXATTRIBPOINTERPROC nglVertexAttribPointer;
|
|
|
|
|
PFNGLUNIFORM1UIPROC nglUniform1ui;
|
|
|
|
|
PFNGLUNIFORM2UIPROC nglUniform2ui;
|
|
|
|
|
PFNGLUNIFORM3UIPROC nglUniform3ui;
|
|
|
|
|
PFNGLUNIFORM4UIPROC nglUniform4ui;
|
|
|
|
|
PFNGLUNIFORM1UIVPROC nglUniform1uiv;
|
|
|
|
|
PFNGLUNIFORM2UIVPROC nglUniform2uiv;
|
|
|
|
|
PFNGLUNIFORM3UIVPROC nglUniform3uiv;
|
|
|
|
|
PFNGLUNIFORM4UIVPROC nglUniform4uiv;
|
|
|
|
|
|
|
|
|
|
PFNGLBINDBUFFERPROC nglBindBuffer;
|
|
|
|
|
PFNGLDELETEBUFFERSPROC nglDeleteBuffers;
|
|
|
|
@ -135,7 +127,7 @@ PFNGLGETQUERYIVPROC nglGetQueryiv;
|
|
|
|
|
PFNGLGETQUERYOBJECTIVPROC nglGetQueryObjectiv;
|
|
|
|
|
PFNGLGETQUERYOBJECTUIVPROC nglGetQueryObjectuiv;
|
|
|
|
|
|
|
|
|
|
PFNGLISRENDERBUFFERPROC nglIsRenderbuffer;
|
|
|
|
|
/*PFNGLISRENDERBUFFERPROC nglIsRenderbuffer;
|
|
|
|
|
PFNGLBINDRENDERBUFFERPROC nglBindRenderbuffer;
|
|
|
|
|
PFNGLDELETERENDERBUFFERSPROC nglDeleteRenderbuffers;
|
|
|
|
|
PFNGLGENRENDERBUFFERSPROC nglGenRenderbuffers;
|
|
|
|
@ -154,7 +146,7 @@ PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC nglGetFramebufferAttachmentParamete
|
|
|
|
|
PFNGLGENERATEMIPMAPPROC nglGenerateMipmap;
|
|
|
|
|
PFNGLBLITFRAMEBUFFERPROC nglBlitFramebuffer;
|
|
|
|
|
PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC nglRenderbufferStorageMultisample;
|
|
|
|
|
PFNGLFRAMEBUFFERTEXTURELAYERPROC nglFramebufferTextureLayer;
|
|
|
|
|
PFNGLFRAMEBUFFERTEXTURELAYERPROC nglFramebufferTextureLayer;*/
|
|
|
|
|
|
|
|
|
|
PFNGLACTIVETEXTUREPROC nglActiveTexture;
|
|
|
|
|
|
|
|
|
@ -367,7 +359,7 @@ static bool setupGLCore(const char *glext)
|
|
|
|
|
CHECK_ADDRESS(PFNGLSHADERSOURCEPROC, glShaderSource);
|
|
|
|
|
CHECK_ADDRESS(PFNGLUSEPROGRAMPROC, glUseProgram);
|
|
|
|
|
CHECK_ADDRESS(PFNGLVALIDATEPROGRAMPROC, glValidateProgram);
|
|
|
|
|
CHECK_ADDRESS(PFNGLUNIFORM1FPROC, glUniform1f);
|
|
|
|
|
/*CHECK_ADDRESS(PFNGLUNIFORM1FPROC, glUniform1f);
|
|
|
|
|
CHECK_ADDRESS(PFNGLUNIFORM2FPROC, glUniform2f);
|
|
|
|
|
CHECK_ADDRESS(PFNGLUNIFORM3FPROC, glUniform3f);
|
|
|
|
|
CHECK_ADDRESS(PFNGLUNIFORM4FPROC, glUniform4f);
|
|
|
|
@ -385,16 +377,8 @@ static bool setupGLCore(const char *glext)
|
|
|
|
|
CHECK_ADDRESS(PFNGLUNIFORM4IVPROC, glUniform4iv);
|
|
|
|
|
CHECK_ADDRESS(PFNGLUNIFORMMATRIX2FVPROC, glUniformMatrix2fv);
|
|
|
|
|
CHECK_ADDRESS(PFNGLUNIFORMMATRIX3FVPROC, glUniformMatrix3fv);
|
|
|
|
|
CHECK_ADDRESS(PFNGLUNIFORMMATRIX4FVPROC, glUniformMatrix4fv);
|
|
|
|
|
CHECK_ADDRESS(PFNGLUNIFORMMATRIX4FVPROC, glUniformMatrix4fv);*/
|
|
|
|
|
CHECK_ADDRESS(PFNGLVERTEXATTRIBPOINTERPROC, glVertexAttribPointer);
|
|
|
|
|
CHECK_ADDRESS(PFNGLUNIFORM1UIPROC, glUniform1ui);
|
|
|
|
|
CHECK_ADDRESS(PFNGLUNIFORM2UIPROC, glUniform2ui);
|
|
|
|
|
CHECK_ADDRESS(PFNGLUNIFORM3UIPROC, glUniform3ui);
|
|
|
|
|
CHECK_ADDRESS(PFNGLUNIFORM4UIPROC, glUniform4ui);
|
|
|
|
|
CHECK_ADDRESS(PFNGLUNIFORM1UIVPROC, glUniform1uiv);
|
|
|
|
|
CHECK_ADDRESS(PFNGLUNIFORM2UIVPROC, glUniform2uiv);
|
|
|
|
|
CHECK_ADDRESS(PFNGLUNIFORM3UIVPROC, glUniform3uiv);
|
|
|
|
|
CHECK_ADDRESS(PFNGLUNIFORM4UIVPROC, glUniform4uiv);
|
|
|
|
|
|
|
|
|
|
CHECK_ADDRESS(PFNGLBINDBUFFERPROC, glBindBuffer);
|
|
|
|
|
CHECK_ADDRESS(PFNGLDELETEBUFFERSPROC, glDeleteBuffers);
|
|
|
|
@ -417,7 +401,7 @@ static bool setupGLCore(const char *glext)
|
|
|
|
|
CHECK_ADDRESS(PFNGLGETQUERYOBJECTIVPROC, glGetQueryObjectiv);
|
|
|
|
|
CHECK_ADDRESS(PFNGLGETQUERYOBJECTUIVPROC, glGetQueryObjectuiv);
|
|
|
|
|
|
|
|
|
|
CHECK_ADDRESS(PFNGLISRENDERBUFFERPROC, glIsRenderbuffer);
|
|
|
|
|
/*CHECK_ADDRESS(PFNGLISRENDERBUFFERPROC, glIsRenderbuffer);
|
|
|
|
|
CHECK_ADDRESS(PFNGLBINDRENDERBUFFERPROC, glBindRenderbuffer);
|
|
|
|
|
CHECK_ADDRESS(PFNGLDELETERENDERBUFFERSPROC, glDeleteRenderbuffers);
|
|
|
|
|
CHECK_ADDRESS(PFNGLGENRENDERBUFFERSPROC, glGenRenderbuffers);
|
|
|
|
@ -436,7 +420,7 @@ static bool setupGLCore(const char *glext)
|
|
|
|
|
CHECK_ADDRESS(PFNGLGENERATEMIPMAPPROC, glGenerateMipmap);
|
|
|
|
|
CHECK_ADDRESS(PFNGLBLITFRAMEBUFFERPROC, glBlitFramebuffer);
|
|
|
|
|
CHECK_ADDRESS(PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC, glRenderbufferStorageMultisample);
|
|
|
|
|
CHECK_ADDRESS(PFNGLFRAMEBUFFERTEXTURELAYERPROC, glFramebufferTextureLayer);
|
|
|
|
|
CHECK_ADDRESS(PFNGLFRAMEBUFFERTEXTURELAYERPROC, glFramebufferTextureLayer);*/
|
|
|
|
|
|
|
|
|
|
CHECK_ADDRESS(PFNGLACTIVETEXTUREPROC, glActiveTexture);
|
|
|
|
|
|
|
|
|
|