glCheckFramebufferStatus returns 0 and there is no error returned from glGetError afterwards. Is it safe to assume that this is a driver bug? I can't seem to find anything in the documentation for OpenGL in how to handle this situation.
I am writing a game using SDL2 on Linux (Ubuntu 14.04) with the nvidia proprietary drivers.
If anyone wants to know, it turns out I was running glCheckFramebufferStatus when no framebuffer was bound.
check if you forgot to set your context as the current context. that's my case.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With