aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/gltexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/graphics/opengl/gltexture.h')
-rw-r--r--backends/graphics/opengl/gltexture.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/backends/graphics/opengl/gltexture.h b/backends/graphics/opengl/gltexture.h
index 2f0bef2bbf..f1c77073a4 100644
--- a/backends/graphics/opengl/gltexture.h
+++ b/backends/graphics/opengl/gltexture.h
@@ -25,7 +25,7 @@
#include "common/scummsys.h"
-#ifdef WIN32
+#if defined(WIN32) && !defined(BADA)
#if defined(ARRAYSIZE) && !defined(_WINDOWS_)
#undef ARRAYSIZE
#endif
@@ -44,7 +44,10 @@
#define ARRAYSIZE(x) ((int)(sizeof(x) / sizeof(x[0])))
#endif
-#if defined(USE_GLES)
+#if defined(BADA)
+#include <FGraphicsOpengl.h>
+using namespace Osp::Graphics::Opengl;
+#elif defined(USE_GLES)
#include <GLES/gl.h>
#elif defined(SDL_BACKEND)
#include <SDL_opengl.h>