floooh / sokol

minimal cross-platform standalone C headers
https://floooh.github.io/sokol-html5
zlib License
6.63k stars 472 forks source link

take texture target into account when binding to framebuffer #893

Closed danielchasehooper closed 10 months ago

danielchasehooper commented 10 months ago

Fixes a crash triggered when creating a sg_pass for a sg_image that had an injected GL_TEXTURE_RECTANGLE texture

floooh commented 10 months ago

Good fix, thanks!