mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 19:00:07 +02:00
- small code rollback to see if it really affects render performance?
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user