make it hiDPI compliant (I hope)

also misc tweaks
This commit is contained in:
Arisotura
2020-05-28 11:52:12 +02:00
parent e8849db78a
commit 0a68eb7803
4 changed files with 14 additions and 6 deletions

View File

@ -1236,7 +1236,7 @@ void RenderFrame()
glBlitFramebuffer(0, 0, ScreenW, ScreenH, 0, 0, ScreenW/2, ScreenH/2, GL_COLOR_BUFFER_BIT, GL_LINEAR);
}
glBindFramebuffer(GL_FRAMEBUFFER, FramebufferID[FrontBuffer]);
//glBindFramebuffer(GL_FRAMEBUFFER, FramebufferID[FrontBuffer]);
FrontBuffer = FrontBuffer ? 0 : 1;
}