From 418caf437ed1af2880b013462b603e1ca1f28fb5 Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 6 Feb 2013 03:54:04 +0200 Subject: attempt to make gles plugin work under RPi --- plugins/gpu-gles/gpuExternals.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/gpu-gles/gpuExternals.h') 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 #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) -- cgit v1.2.3