aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/tizen/graphics.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2015-12-18 21:14:48 +0100
committerJohannes Schickel2016-03-16 20:29:25 +0100
commitaf727afe0ceb66eaf51985ceceb2ac842b3358ee (patch)
tree90a7194bb25c83c5a50e25358e340d2a31595d4c /backends/platform/tizen/graphics.cpp
parentda062ad1ea2d933ae7c4b56f84f34c5fb2186196 (diff)
downloadscummvm-rg350-af727afe0ceb66eaf51985ceceb2ac842b3358ee.tar.gz
scummvm-rg350-af727afe0ceb66eaf51985ceceb2ac842b3358ee.tar.bz2
scummvm-rg350-af727afe0ceb66eaf51985ceceb2ac842b3358ee.zip
OPENGL: Simplify context type setting.
Diffstat (limited to 'backends/platform/tizen/graphics.cpp')
-rw-r--r--backends/platform/tizen/graphics.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/platform/tizen/graphics.cpp b/backends/platform/tizen/graphics.cpp
index caa18c556f..61dbfc38fb 100644
--- a/backends/platform/tizen/graphics.cpp
+++ b/backends/platform/tizen/graphics.cpp
@@ -56,10 +56,11 @@ result TizenGraphicsManager::Construct() {
loadEgl();
// Notify the OpenGL code about our context.
+ setContextType(OpenGL::kContextGLES);
// 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), OpenGL::kContextGLES);
+ notifyContextCreate(Graphics::PixelFormat(2, 5, 6, 5, 0, 11, 5, 0, 0), Graphics::PixelFormat(2, 5, 5, 5, 1, 11, 6, 1, 0));
// Tell our size.
int x, y, width, height;