pthread_join(__threadInfo, NULL);
delete [] __pRenderQueue;
-
-#ifndef VE_USE_GL_MULTI_CONTEXT
- delete __pColorShader;
- delete __pUniformColorShader;
- delete __pTextureShader;
- delete __pTextureOpacityShader;
-
- _GlContext::ReleaseInstance();
- __pGlContext = null;
-#endif
}
result
break;
case COMMAND_EXIT:
+ PRINT("COMMAND_EXIT\n");
goto exit_renderer;
default:
pThis->__pGlContext->PopContext();
#endif
+#ifndef VE_USE_GL_MULTI_CONTEXT
+ delete pThis->__pColorShader;
+ delete pThis->__pUniformColorShader;
+ delete pThis->__pTextureShader;
+ delete pThis->__pTextureOpacityShader;
+
+ _GlContext::ReleaseInstance();
+ pThis->__pGlContext = null;
+#endif
+
{
_AutoMutex commandLock(pThis->__commandLock);