diff options
author | Johannes Schickel | 2015-12-18 21:14:48 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-03-16 20:29:25 +0100 |
commit | af727afe0ceb66eaf51985ceceb2ac842b3358ee (patch) | |
tree | 90a7194bb25c83c5a50e25358e340d2a31595d4c /backends/platform/tizen | |
parent | da062ad1ea2d933ae7c4b56f84f34c5fb2186196 (diff) | |
download | scummvm-rg350-af727afe0ceb66eaf51985ceceb2ac842b3358ee.tar.gz scummvm-rg350-af727afe0ceb66eaf51985ceceb2ac842b3358ee.tar.bz2 scummvm-rg350-af727afe0ceb66eaf51985ceceb2ac842b3358ee.zip |
OPENGL: Simplify context type setting.
Diffstat (limited to 'backends/platform/tizen')
-rw-r--r-- | backends/platform/tizen/graphics.cpp | 3 |
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; |