Merge pull request #1783 from RPCS3/gl-flip

OGL: disable pixel processing test before flip
This commit is contained in:
raven02 2016-06-19 01:27:29 +08:00 committed by GitHub
commit c4733a6eab
1 changed files with 5 additions and 7 deletions

View File

@ -608,6 +608,11 @@ void GLGSRender::flip(int buffer)
u32 buffer_height = gcm_buffers[buffer].height;
u32 buffer_pitch = gcm_buffers[buffer].pitch;
glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
glDisable(GL_SCISSOR_TEST);
glDisable(GL_DEPTH_TEST);
glDisable(GL_STENCIL_TEST);
rsx::tiled_region buffer_region = get_tiled_address(gcm_buffers[buffer].offset, CELL_GCM_LOCATION_LOCAL);
bool skip_read = false;
@ -654,13 +659,6 @@ void GLGSRender::flip(int buffer)
m_flip_fbo.bind();
glDisable(GL_SCISSOR_TEST);
glDisable(GL_DEPTH_TEST);
glDisable(GL_STENCIL_TEST);
glDisable(GL_BLEND);
glDisable(GL_LOGIC_OP);
glDisable(GL_CULL_FACE);
if (buffer_region.tile)
{
std::unique_ptr<u8[]> temp(new u8[buffer_height * buffer_pitch]);