diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-12 02:30:42 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-12 02:32:03 +0200 |
commit | 28e90fa0e05307c8f0d60ab8f30f46ea4029ede4 (patch) | |
tree | 69853494e29de6f578533bb236c14c949f50e141 /src/video_core | |
parent | Merge pull request #1010 from bunnei/unk-vert-attrib-shader (diff) | |
download | yuzu-28e90fa0e05307c8f0d60ab8f30f46ea4029ede4.tar yuzu-28e90fa0e05307c8f0d60ab8f30f46ea4029ede4.tar.gz yuzu-28e90fa0e05307c8f0d60ab8f30f46ea4029ede4.tar.bz2 yuzu-28e90fa0e05307c8f0d60ab8f30f46ea4029ede4.tar.lz yuzu-28e90fa0e05307c8f0d60ab8f30f46ea4029ede4.tar.xz yuzu-28e90fa0e05307c8f0d60ab8f30f46ea4029ede4.tar.zst yuzu-28e90fa0e05307c8f0d60ab8f30f46ea4029ede4.zip |
Diffstat (limited to 'src/video_core')
-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 8360feb5d..7f01af2dd 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -211,7 +211,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) { |