mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
opengl: fix overly-strict requirement on SCREEN shaders to match docs [cgwg]
This commit is contained in:
parent
22e4802e10
commit
ee81c1ff9c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user