Fix build on iOS by using QOPENGLF_APIENTRY intead of APIENTRY directly
QOPENGLF_APIENTRY masks over GL vs ES, as we need GL_APIENTRY on iOS, where APIENTRY is not defined. Change-Id: I60c097d67e0844c30913c913cf88a9b9e181813b Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
This commit is contained in:
parent
247643a602
commit
5bc32bcced
@ -588,7 +588,7 @@ QT_BEGIN_NAMESPACE
|
|||||||
#define GL_STACK_UNDERFLOW 0x0504
|
#define GL_STACK_UNDERFLOW 0x0504
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam);
|
typedef void (QOPENGLF_APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam);
|
||||||
|
|
||||||
#endif /* GL_KHR_debug */
|
#endif /* GL_KHR_debug */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user