summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-12 04:39:46 +0200
committerGitHub <noreply@github.com>2018-08-12 04:39:46 +0200
commit9c977d221505fe6c604aea4f55c837cf10c555bb (patch)
tree8dd01c0eba2e8df9b38805aebc42e22739b2f7c7 /src
parentMerge pull request #1024 from Subv/blend_gl (diff)
parentgl_rasterizer: Silence implicit truncation warning in SetupShaders() (diff)
downloadyuzu-9c977d221505fe6c604aea4f55c837cf10c555bb.tar
yuzu-9c977d221505fe6c604aea4f55c837cf10c555bb.tar.gz
yuzu-9c977d221505fe6c604aea4f55c837cf10c555bb.tar.bz2
yuzu-9c977d221505fe6c604aea4f55c837cf10c555bb.tar.lz
yuzu-9c977d221505fe6c604aea4f55c837cf10c555bb.tar.xz
yuzu-9c977d221505fe6c604aea4f55c837cf10c555bb.tar.zst
yuzu-9c977d221505fe6c604aea4f55c837cf10c555bb.zip
Diffstat (limited to '')
-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 3646a1b1b..ea03e9b88 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -216,7 +216,7 @@ void RasterizerOpenGL::SetupShaders(u8* buffer_ptr, GLintptr buffer_offset) {
// Next available bindpoints to use when uploading the const buffers and textures to the GLSL
// shaders. The constbuffer bindpoint starts after the shader stage configuration bind points.
- u32 current_constbuffer_bindpoint = uniform_buffers.size();
+ u32 current_constbuffer_bindpoint = static_cast<u32>(uniform_buffers.size());
u32 current_texture_bindpoint = 0;
for (size_t index = 0; index < Maxwell::MaxShaderProgram; ++index) {