Handmade Hero»Forums»Code
Kim
Kim Jørgensen
64 posts
Day 321: UseRenderTargets Bug
In OpenGLRenderCommands the glBindFramebuffer pointer is checked
1
b32 UseRenderTargets = (glBindFramebuffer != 0);


However, the OpenGL framebuffer functions are still called regardless if UseRenderTargets is false.

/Kim
Casey Muratori
801 posts / 1 project
Casey Muratori is a programmer at Molly Rocket on the game 1935 and is the host of the educational programming series Handmade Hero.
Day 321: UseRenderTargets Bug
Is this filed as a bug on the GitHub?

- Casey
Kim
Kim Jørgensen
64 posts
Day 321: UseRenderTargets Bug
Now it is :-)
Casey Muratori
801 posts / 1 project
Casey Muratori is a programmer at Molly Rocket on the game 1935 and is the host of the educational programming series Handmade Hero.
Day 321: UseRenderTargets Bug
How'd we do on fixed today?

- Casey
Kim
Kim Jørgensen
64 posts
Day 321: UseRenderTargets Bug
Swell, I guess a proper response would be.
You are doing a good job on fixing the issues in GitHub. Thank you.

/Kim
Casey Muratori
801 posts / 1 project
Casey Muratori is a programmer at Molly Rocket on the game 1935 and is the host of the educational programming series Handmade Hero.
Day 321: UseRenderTargets Bug
Hopefully we will get to do the CLANG compatibility next week, too.

- Casey