Open ennis opened 11 months ago
It's valid to call glBindImageTexture with texture equal to zero, in which case it will break any previous binding. The current signature takes Self::Texture. It should be Option<Self::Texture> to be consistent with other bind_ functions.
glBindImageTexture
texture
Self::Texture
Option<Self::Texture>
bind_
Sure, happy to accept a PR for this
It's valid to call
glBindImageTexture
withtexture
equal to zero, in which case it will break any previous binding. The current signature takesSelf::Texture
. It should beOption<Self::Texture>
to be consistent with otherbind_
functions.