opengl: fix overly-strict requirement on SCREEN shaders to match docs [cgwg]

This commit is contained in:
arbee 2015-09-06 15:29:27 -04:00
parent 22e4802e10
commit ee81c1ff9c

View File

@ -3117,7 +3117,8 @@ void sdl_info_ogl::texture_mpass_flip(ogl_texture_info *texture, int shaderIdx)
GL_CHECK_ERROR_NORMAL();
glViewport(0.0, 0.0, (GLsizei)texture->rawwidth, (GLsizei)texture->rawheight);
}
else if ( shaderIdx==m_glsl_program_mb2sc )
if ( shaderIdx==m_glsl_program_mb2sc )
{
assert ( m_glsl_program_mb2sc < m_glsl_program_num-1 );
glPopAttrib(); // glViewport(0.0, 0.0, (GLsizei)window().width, (GLsizei)window().height)