bryanedds / Nu

Repository hosting the open-source Nu Game Engine and related projects.
MIT License
1.1k stars 155 forks source link

Consider calling if GL.CheckFramebufferStatus for each created frame buffer. #642

Closed bryanedds closed 9 months ago

bryanedds commented 9 months ago

This might be a place where we can add some debugging capability to the existing opengl renderer -

if glCheckFramebufferStatus GL_FRAMEBUFFER <> GL_FRAMEBUFFER_COMPLETE then
        failwith ...
bryanedds commented 9 months ago

Looks like we're already doing this adequately.