aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/tizen
diff options
context:
space:
mode:
authorJohannes Schickel2015-12-12 22:08:33 +0100
committerJohannes Schickel2016-03-16 20:29:25 +0100
commitd6d3e17d53754acedce0b1706e73f929d29b5eb8 (patch)
treeb6e3961fff722a9a07fc17b35eea4ebaa124c94b /backends/platform/tizen
parent9816e4f35035b6fa461dc1bc255ced533f5feaf9 (diff)
downloadscummvm-rg350-d6d3e17d53754acedce0b1706e73f929d29b5eb8.tar.gz
scummvm-rg350-d6d3e17d53754acedce0b1706e73f929d29b5eb8.tar.bz2
scummvm-rg350-d6d3e17d53754acedce0b1706e73f929d29b5eb8.zip
OPENGL: Allow runtime specification of OpenGL mode.
Formerly, we required that the OpenGL mode was fixed at compile time. Now we allow the code to work with whatever it is given at runtime. It is still possible to force a context type on compile time.
Diffstat (limited to 'backends/platform/tizen')
-rw-r--r--backends/platform/tizen/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/tizen/graphics.cpp b/backends/platform/tizen/graphics.cpp
index 971be460d8..caa18c556f 100644
--- a/backends/platform/tizen/graphics.cpp
+++ b/backends/platform/tizen/graphics.cpp
@@ -59,7 +59,7 @@ result TizenGraphicsManager::Construct() {
// We default to RGB565 and RGBA5551 which is closest to the actual output
// mode we setup.
- notifyContextCreate(Graphics::PixelFormat(2, 5, 6, 5, 0, 11, 5, 0, 0), Graphics::PixelFormat(2, 5, 5, 5, 1, 11, 6, 1, 0));
+ notifyContextCreate(Graphics::PixelFormat(2, 5, 6, 5, 0, 11, 5, 0, 0), Graphics::PixelFormat(2, 5, 5, 5, 1, 11, 6, 1, 0), OpenGL::kContextGLES);
// Tell our size.
int x, y, width, height;