mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-29 10:29:41 -06:00
GL: be more careful with framebuffer mappings. might fix issues.
This commit is contained in:
@ -162,7 +162,8 @@ void SetRenderSettings(RenderSettings& settings)
|
||||
|
||||
void RenderFrame()
|
||||
{
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, CompScreenOutputFB);
|
||||
glBindFramebuffer(GL_READ_FRAMEBUFFER, 0);
|
||||
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, CompScreenOutputFB);
|
||||
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
glDisable(GL_STENCIL_TEST);
|
||||
|
Reference in New Issue
Block a user