GL: try to skip incorrectly prepared FBO's.

This commit is contained in:
O1L 2017-02-04 17:44:40 +03:00 committed by Ivan
parent bf33a1827c
commit a809f33418
4 changed files with 13 additions and 5 deletions

View file

@ -114,7 +114,8 @@ void GLGSRender::init_buffers(bool skip_reading)
__glcheck draw_fbo.depth = *std::get<1>(m_rtts.m_bound_depth_stencil);
}
__glcheck draw_fbo.check();
if (!draw_fbo.check())
return;
//HACK: read_buffer shouldn't be there
switch (rsx::method_registers.surface_color_target())