TIZEN: Notify OpenGL manager about context destruction.

This commit is contained in:
Johannes Schickel 2014-02-11 11:07:37 +01:00
parent b5ca9f5f10
commit 4d3eb4a45a

View File

@ -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);