floooh / sokol

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

Problem with glInvalidateFramebuffer() in WebGL2 on Chrome with NVIDIA GPUs. #841

Closed floooh closed 1 year ago

floooh commented 1 year ago

Just tracking this issue here too, it doesn't seem to be a bug in sokol_gfx.h.

Either the problem can be fixed in Chrome, or sokol_gfx.h shouldn't call glInvalidateFramebuffer().

https://bugs.chromium.org/p/chromium/issues/detail?id=1453425

floooh commented 1 year ago

Doh, simple bug on my side, see comment here:

https://bugs.chromium.org/p/chromium/issues/detail?id=1453425#c10