mirror of
https://github.com/overte-org/overte.git
synced 2025-04-11 21:52:58 +02:00
Allow building on Android with GLAD disabled
This commit is contained in:
parent
c685cc0e6f
commit
6313e3ea69
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
#include <QtGlobal>
|
||||
#if !defined(Q_OS_ANDROID)
|
||||
/*
|
||||
|
||||
OpenGL ES loader generated by glad 0.1.16a0 on Sat Jan 13 00:26:15 2018.
|
||||
|
@ -3238,3 +3240,4 @@ int gladLoadGLES2Loader(GLADloadproc load) {
|
|||
load_GL_QCOM_tiled_rendering(load);
|
||||
return GLVersion.major != 0 || GLVersion.minor != 0;
|
||||
}
|
||||
#endif
|
|
@ -1,3 +1,5 @@
|
|||
#include <QtGlobal>
|
||||
#if !defined(Q_OS_ANDROID)
|
||||
/*
|
||||
|
||||
WGL loader generated by glad 0.1.16a0 on Fri Jan 12 22:56:42 2018.
|
||||
|
@ -720,3 +722,4 @@ int gladLoadWGLLoader(GLADloadproc load, HDC hdc) {
|
|||
load_WGL_OML_sync_control(load);
|
||||
return 1;
|
||||
}
|
||||
#endif
|
Loading…
Reference in a new issue