mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 16:38:27 +02:00
Last GL config fix
This commit is contained in:
parent
8b2e8706ff
commit
ffbb5442c7
1 changed files with 6 additions and 3 deletions
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
#if defined(USE_GLES)
|
#if defined(USE_GLES)
|
||||||
#define HIFI_GLES
|
#define HIFI_GLES
|
||||||
|
#define HIFI_EGL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HIFI_GLES)
|
#if defined(HIFI_GLES)
|
||||||
|
@ -34,10 +35,12 @@
|
||||||
|
|
||||||
#define MINIMUM_GL_VERSION ((GL_MIN_VERSION_MAJOR << 8) | GL_MIN_VERSION_MINOR)
|
#define MINIMUM_GL_VERSION ((GL_MIN_VERSION_MAJOR << 8) | GL_MIN_VERSION_MINOR)
|
||||||
|
|
||||||
#if defined(HIFI_GLES)
|
#if defined(HIFI_EGL)
|
||||||
#define GL_GLEXT_PROTOTYPES
|
|
||||||
#include <GLES3/gl32.h>
|
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(HIFI_GLES)
|
||||||
|
#include <GLES3/gl32.h>
|
||||||
|
|
||||||
#define GL_DEPTH_COMPONENT32_OES 0x81A7
|
#define GL_DEPTH_COMPONENT32_OES 0x81A7
|
||||||
#define GL_TIME_ELAPSED_EXT 0x88BF
|
#define GL_TIME_ELAPSED_EXT 0x88BF
|
||||||
|
|
Loading…
Reference in a new issue