summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-11-22 02:55:23 +0100
committerGitHub <noreply@github.com>2020-11-22 02:55:23 +0100
commite13a91fa9b115beb7894feaf03edc27bd26162b1 (patch)
tree23f48650a29222fdc7d214441afe6c8fda0dbb86 /src/video_core
parentMerge pull request #4955 from lioncash/move3 (diff)
parentgl_rasterizer: Make floating-point literal a float (diff)
downloadyuzu-e13a91fa9b115beb7894feaf03edc27bd26162b1.tar
yuzu-e13a91fa9b115beb7894feaf03edc27bd26162b1.tar.gz
yuzu-e13a91fa9b115beb7894feaf03edc27bd26162b1.tar.bz2
yuzu-e13a91fa9b115beb7894feaf03edc27bd26162b1.tar.lz
yuzu-e13a91fa9b115beb7894feaf03edc27bd26162b1.tar.xz
yuzu-e13a91fa9b115beb7894feaf03edc27bd26162b1.tar.zst
yuzu-e13a91fa9b115beb7894feaf03edc27bd26162b1.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index cdcde7c59..cfddbde5d 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -1156,7 +1156,7 @@ void RasterizerOpenGL::SyncViewport() {
flags[Dirty::ClipControl] = 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;
}
if (regs.screen_y_control.y_negate != 0) {