From 1d36aec2674fdce977824457bb61109ced03bba2 Mon Sep 17 00:00:00 2001 From: Frederic Laing Date: Thu, 8 Nov 2018 13:33:30 +0100 Subject: gl_rasterizer: Fix compiler warnings --- src/video_core/renderer_opengl/gl_rasterizer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/video_core') diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index bb263b6aa..dd7d187eb 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -903,8 +903,8 @@ void RasterizerOpenGL::SyncViewport() { auto& viewport = state.viewports[i]; viewport.x = viewport_rect.left; viewport.y = viewport_rect.bottom; - viewport.width = static_cast(viewport_rect.GetWidth()); - viewport.height = static_cast(viewport_rect.GetHeight()); + viewport.width = static_cast(viewport_rect.GetWidth()); + viewport.height = static_cast(viewport_rect.GetHeight()); viewport.depth_range_far = regs.viewport[i].depth_range_far; viewport.depth_range_near = regs.viewport[i].depth_range_near; } -- cgit v1.2.3