mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
TIZEN: Notify OpenGL manager about context destruction.
This commit is contained in:
parent
b5ca9f5f10
commit
4d3eb4a45a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user