1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2025-12-08 05:05:40 +00:00

Remove glFinish

glFinish waits until rendering is complete, there usually isn't a good reason to do this.
Removing it improves performance on (very) low end hardware.
This commit is contained in:
Giantblargg 2025-02-18 11:26:49 -07:00 committed by alula
parent 6973573721
commit 50cd0e54f5

View file

@ -673,8 +673,6 @@ impl BackendRenderer for OpenGLRenderer {
self.render_data.surf_texture,
BackendShader::Texture,
)?;
gl.gl.Finish();
}
if let Some((context, _)) = self.get_context() {