OPENGL: Fix compilation with USE_BUILTIN_OPENGL
GL_FUNC2_DEF doesn't have the same arguments as GL_FUNC_DEF
This commit is contained in:
parent
d4a7ba1032
commit
dd038d72e8
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ void OpenGLGraphicsManager::initializeGLContext() {
|
|||
|
||||
#ifdef USE_BUILTIN_OPENGL
|
||||
#define GL_FUNC_DEF(ret, name, param) g_context.name = &name
|
||||
#define GL_FUNC_2_DEF GL_FUNC_DEF
|
||||
// GL_FUNC2_DEF will be defined in opengl-func.h
|
||||
#else
|
||||
#define GL_FUNC_DEF GL_EXT_FUNC_DEF
|
||||
#define GL_FUNC_2_DEF(ret, name, extName, param) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue