Skip to content

Commit

Permalink
[macOS] Fix booting game stuck at "Starting..." when Video Routing is…
Browse files Browse the repository at this point in the history
… enabled with OpenGL
  • Loading branch information
vkedwardli authored and flyinghead committed Jan 9, 2025
1 parent 20ba796 commit 3114344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/rend/gles/gldraw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ void DrawStrips()

void OpenGLRenderer::RenderFramebuffer(const FramebufferInfo& info)
{
initVideoRoutingFrameBuffer();
glReadFramebuffer(info);
saveCurrentFramebuffer();
initVideoRoutingFrameBuffer();
getVideoShift(gl.ofbo.shiftX, gl.ofbo.shiftY);
#ifdef LIBRETRO
glBindFramebuffer(GL_FRAMEBUFFER, postProcessor.getFramebuffer(gl.dcfb.width, gl.dcfb.height));
Expand Down

0 comments on commit 3114344

Please sign in to comment.