- attempt to improve rendering speed

This commit is contained in:
Mark Vejvoda
2010-07-06 10:11:56 +00:00
parent 413c492684
commit c04b83259e
3 changed files with 13 additions and 8 deletions

View File

@@ -455,6 +455,7 @@ void Renderer::renderParticleManager(ResourceScope rs){
void Renderer::swapBuffers(){
//glFlush(); // should not be required - http://www.opengl.org/wiki/Common_Mistakes
glFlush();
GraphicsInterface::getInstance().getCurrentContext()->swapBuffers();
}