summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/drawogl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/render/drawogl.c')
-rw-r--r--src/osd/modules/render/drawogl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osd/modules/render/drawogl.c b/src/osd/modules/render/drawogl.c
index f071428972f..5a139c4054b 100644
--- a/src/osd/modules/render/drawogl.c
+++ b/src/osd/modules/render/drawogl.c
@@ -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)