port: restore glReadBuffer value after changing it

this might fix reshade
This commit is contained in:
fgsfds committed 2023-11-18 00:43:22 +01:00
1 parent b618c99abd
commit 305e64a263
1 file changed
+2
+2
View File
@@ -1161,6 +1161,8 @@ void gfx_opengl_copy_framebuffer(int fb_dst, int fb_src, int left, int top, bool
glBindFramebuffer(GL_FRAMEBUFFER, framebuffers[current_framebuffer].fbo);
glReadBuffer(GL_BACK);
glEnable(GL_SCISSOR_TEST);
}