mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-19 12:25:12 -04:00
opengl: don't unbind buffers
This commit is contained in:
parent
30fb1746b5
commit
fd75562b09
@ -36,6 +36,8 @@ abstract class OpenGLRenderableBuffer(override val type: RenderableBufferTypes)
|
||||
}
|
||||
|
||||
override fun unbind() {
|
||||
return
|
||||
// This is unclean, yes. But it is not required to do at all (we always bind another buffer), so this saves a ton of gl calls
|
||||
glBindBuffer(type.gl, 0)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user