mirror of
https://github.com/glest/glest-source.git
synced 2025-09-27 16:09:00 +02:00
- attempt to improve rendering speed
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user