aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu-gles/gpuExternals.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gpu-gles/gpuExternals.h')
-rw-r--r--plugins/gpu-gles/gpuExternals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/gpu-gles/gpuExternals.h b/plugins/gpu-gles/gpuExternals.h
index 897b446..1260167 100644
--- a/plugins/gpu-gles/gpuExternals.h
+++ b/plugins/gpu-gles/gpuExternals.h
@@ -41,6 +41,10 @@ extern "C" {
#include <GLES/glext.h>
#endif
+#ifndef GL_BGRA_EXT
+#define GL_BGRA_EXT GL_RGBA // ??
+#endif
+
#ifdef __NANOGL__
#define glTexParameteri(x,y,z) glTexParameterf(x,y,z)
#define glAlphaFuncx(x,y) glAlphaFunc(x,y)