mirror of https://github.com/snes9xgit/snes9x.git
Shaders: Oops. Add scale check to Y, too.
This commit is contained in:
parent
9b67d0ad8b
commit
3426f146f1
|
@ -646,7 +646,10 @@ void GLSLShader::render(GLuint &orig,
|
||||||
pass[i].height = viewport_height * pass[i].scale_y;
|
pass[i].height = viewport_height * pass[i].scale_y;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
if (lastpass)
|
||||||
pass[i].height = viewport_height;
|
pass[i].height = viewport_height;
|
||||||
|
else
|
||||||
|
pass[i].height = pass[i - 1].height * pass[i].scale_y;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool direct_lastpass = true;
|
bool direct_lastpass = true;
|
||||||
|
|
Loading…
Reference in New Issue