Skip to content

Commit

Permalink
Fix Star Ocean stencil issue with OpenGL. Fixes #13746
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Nov 11, 2020
1 parent e14437c commit 3868476
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GPU/GLES/StencilBufferGLES.cpp
Expand Up @@ -214,6 +214,7 @@ bool FramebufferManagerGLES::NotifyStencilUpload(u32 addr, int size, StencilUplo
}

if (useBlit) {
render_->SetScissor({ 0, 0, dstBuffer->renderWidth, dstBuffer->renderHeight });
draw_->BlitFramebuffer(blitFBO, 0, 0, w, h, dstBuffer->fbo, 0, 0, dstBuffer->renderWidth, dstBuffer->renderHeight, Draw::FB_STENCIL_BIT, Draw::FB_BLIT_NEAREST, "NotifyStencilUpload_Blit");
}

Expand Down

0 comments on commit 3868476

Please sign in to comment.