diff --git a/port/fast3d/gfx_opengl.cpp b/port/fast3d/gfx_opengl.cpp index 883835e90..68851a75d 100644 --- a/port/fast3d/gfx_opengl.cpp +++ b/port/fast3d/gfx_opengl.cpp @@ -972,11 +972,13 @@ void gfx_opengl_clear_framebuffer() { void gfx_opengl_resolve_msaa_color_buffer(int fb_id_target, int fb_id_source) { Framebuffer& fb_dst = framebuffers[fb_id_target]; Framebuffer& fb_src = framebuffers[fb_id_source]; + glDisable(GL_SCISSOR_TEST); glBindFramebuffer(GL_DRAW_FRAMEBUFFER, fb_dst.fbo); glBindFramebuffer(GL_READ_FRAMEBUFFER, fb_src.fbo); glBlitFramebuffer(0, 0, fb_src.width, fb_src.height, 0, 0, fb_dst.width, fb_dst.height, GL_COLOR_BUFFER_BIT, GL_NEAREST); glBindFramebuffer(GL_FRAMEBUFFER, current_framebuffer); + glEnable(GL_SCISSOR_TEST); } void* gfx_opengl_get_framebuffer_texture_id(int fb_id) {