- removed un-necessary use of renderer while application shutdown to avoid bad use of the renderer.

This commit is contained in:
Mark Vejvoda
2010-11-28 03:01:27 +00:00
parent edbc14a176
commit 128b98b619

View File

@@ -49,7 +49,7 @@ void Logger::cleanupLoadingTexture() {
if(loadingTexture!=NULL) { if(loadingTexture!=NULL) {
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__); SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
Renderer &renderer= Renderer::getInstance(); //Renderer &renderer= Renderer::getInstance();
//renderer.endTexture(rsGlobal,loadingTexture); //renderer.endTexture(rsGlobal,loadingTexture);
loadingTexture->end(); loadingTexture->end();
delete loadingTexture; delete loadingTexture;