- small code rollback to see if it really affects render performance?

This commit is contained in:
Mark Vejvoda
2010-06-28 00:25:12 +00:00
parent 00860813b2
commit 9637a708a7

View File

@@ -458,7 +458,10 @@ void Renderer::renderParticleManager(ResourceScope rs){
} }
void Renderer::swapBuffers(){ void Renderer::swapBuffers(){
//glFlush(); // should not be required - http://www.opengl.org/wiki/Common_Mistakes //glFlush(); // should not be required - http://www.opengl.org/wiki/Common_Mistakes
glFlush(); // <--- this might actually be needed for better Render performance???
GraphicsInterface::getInstance().getCurrentContext()->swapBuffers(); GraphicsInterface::getInstance().getCurrentContext()->swapBuffers();
} }