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:
parent
6973573721
commit
50cd0e54f5
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue