diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-08 21:08:07 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-08 23:48:50 +0100 |
commit | 096f339a2a817054c9e2dfef188a5e2470126236 (patch) | |
tree | 83b293c8ca82a1b6052c6d20063550fd92f10c61 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | microprofile: Silence conversion warnings (diff) | |
download | yuzu-096f339a2a817054c9e2dfef188a5e2470126236.tar yuzu-096f339a2a817054c9e2dfef188a5e2470126236.tar.gz yuzu-096f339a2a817054c9e2dfef188a5e2470126236.tar.bz2 yuzu-096f339a2a817054c9e2dfef188a5e2470126236.tar.lz yuzu-096f339a2a817054c9e2dfef188a5e2470126236.tar.xz yuzu-096f339a2a817054c9e2dfef188a5e2470126236.tar.zst yuzu-096f339a2a817054c9e2dfef188a5e2470126236.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 2 |
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 e560d70d5..e43ba9d6b 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -375,7 +375,7 @@ void RasterizerOpenGL::ConfigureFramebuffers() { fbkey.color_attachments[index] = GL_COLOR_ATTACHMENT0 + regs.rt_control.GetMap(index); fbkey.colors[index] = std::move(color_surface); } - fbkey.colors_count = regs.rt_control.count; + fbkey.colors_count = static_cast<u16>(regs.rt_control.count); if (depth_surface) { // Assume that a surface will be written to if it is used as a framebuffer, even if |