mirror of
https://github.com/azahar-emu/azahar
synced 2025-11-12 09:59:59 +01:00
The state object isn't used anywhere else, so there is no need to revert the state. And the comment is just wrong: It doesn't matter which textures are bound on framebuffer binding, it only matters at draw time. And we reset all bindings before the draw call. So let's use gl_state as it is designed to avoid flipping states.