mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-01 04:47:53 +00:00
Merge pull request #4954 from lioncash/compare
gl_rasterizer: Make floating-point literal a float
This commit is contained in:
commit
e13a91fa9b
1 changed files with 1 additions and 1 deletions
|
@ -1156,7 +1156,7 @@ void RasterizerOpenGL::SyncViewport() {
|
||||||
flags[Dirty::ClipControl] = false;
|
flags[Dirty::ClipControl] = false;
|
||||||
|
|
||||||
bool flip_y = false;
|
bool flip_y = false;
|
||||||
if (regs.viewport_transform[0].scale_y < 0.0) {
|
if (regs.viewport_transform[0].scale_y < 0.0f) {
|
||||||
flip_y = !flip_y;
|
flip_y = !flip_y;
|
||||||
}
|
}
|
||||||
if (regs.screen_y_control.y_negate != 0) {
|
if (regs.screen_y_control.y_negate != 0) {
|
||||||
|
|
Loading…
Reference in a new issue