Skip to content

Commit

Permalink
GL: fix segfault in GLGSRender::flip
Browse files Browse the repository at this point in the history
  • Loading branch information
Megamouse committed Mar 27, 2024
1 parent 81de7a5 commit c0c4810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcs3/Emu/RSX/GL/GLPresent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ void GLGSRender::flip(const rsx::display_flip_info_t& info)
}

gl::screen.bind();
m_video_output_pass.run(cmd, areau(aspect_ratio), images.map(FN(x->id())), gamma, limited_range, avconfig.stereo_mode, filter);
m_video_output_pass.run(cmd, areau(aspect_ratio), images.map(FN(x ? x->id() : GL_NONE)), gamma, limited_range, avconfig.stereo_mode, filter);
}
}

Expand Down

0 comments on commit c0c4810

Please sign in to comment.