mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-10 00:45:37 +00:00
GL: try to skip incorrectly prepared FBO's.
This commit is contained in:
parent
bf33a1827c
commit
a809f33418
4 changed files with 13 additions and 5 deletions
|
|
@ -191,6 +191,9 @@ void GLGSRender::begin()
|
|||
|
||||
init_buffers();
|
||||
|
||||
if (!draw_fbo.check())
|
||||
return;
|
||||
|
||||
std::chrono::time_point<steady_clock> then = steady_clock::now();
|
||||
|
||||
bool color_mask_b = rsx::method_registers.color_mask_b();
|
||||
|
|
@ -377,7 +380,7 @@ namespace
|
|||
|
||||
void GLGSRender::end()
|
||||
{
|
||||
if (!draw_fbo)
|
||||
if (!draw_fbo || !draw_fbo.check())
|
||||
{
|
||||
rsx::thread::end();
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue