mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-05 13:29:40 -06:00
fix more stupid shit. askzjkdsf
This commit is contained in:
@ -987,6 +987,9 @@ void RenderFrame()
|
||||
{
|
||||
CurShaderID = -1;
|
||||
|
||||
if (Antialias) glBindFramebuffer(GL_FRAMEBUFFER, FramebufferID[2]);
|
||||
else glBindFramebuffer(GL_FRAMEBUFFER, FramebufferID[FrontBuffer]);
|
||||
|
||||
ShaderConfig.uScreenSize[0] = ScreenW;
|
||||
ShaderConfig.uScreenSize[1] = ScreenH;
|
||||
ShaderConfig.uDispCnt = RenderDispCnt;
|
||||
@ -1080,9 +1083,6 @@ void RenderFrame()
|
||||
|
||||
glViewport(0, 0, ScreenW, ScreenH);
|
||||
|
||||
if (Antialias) glBindFramebuffer(GL_FRAMEBUFFER, FramebufferID[2]);
|
||||
else glBindFramebuffer(GL_FRAMEBUFFER, FramebufferID[FrontBuffer]);
|
||||
|
||||
glDisable(GL_BLEND);
|
||||
glColorMaski(0, GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
|
||||
glColorMaski(1, GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
|
||||
|
Reference in New Issue
Block a user