aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/tizen
diff options
context:
space:
mode:
authorJohannes Schickel2014-02-11 11:07:37 +0100
committerJohannes Schickel2014-02-11 11:10:49 +0100
commit4d3eb4a45a143b33bb1ecd951058161bcb4eebe1 (patch)
tree898b2149941e7274aefa57b34400c4ed38c0f4d2 /backends/platform/tizen
parentb5ca9f5f108ffd46a514656630c7ea9824a035ce (diff)
downloadscummvm-rg350-4d3eb4a45a143b33bb1ecd951058161bcb4eebe1.tar.gz
scummvm-rg350-4d3eb4a45a143b33bb1ecd951058161bcb4eebe1.tar.bz2
scummvm-rg350-4d3eb4a45a143b33bb1ecd951058161bcb4eebe1.zip
TIZEN: Notify OpenGL manager about context destruction.
Diffstat (limited to 'backends/platform/tizen')
-rw-r--r--backends/platform/tizen/graphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/platform/tizen/graphics.cpp b/backends/platform/tizen/graphics.cpp
index 390796dc0e..1892c2c246 100644
--- a/backends/platform/tizen/graphics.cpp
+++ b/backends/platform/tizen/graphics.cpp
@@ -43,6 +43,7 @@ TizenGraphicsManager::~TizenGraphicsManager() {
logEntered();
if (_eglDisplay != EGL_NO_DISPLAY) {
+ notifyContextDestroy();
eglMakeCurrent(_eglDisplay, NULL, NULL, NULL);
if (_eglContext != EGL_NO_CONTEXT) {
eglDestroyContext(_eglDisplay, _eglContext);