diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-01-17 18:08:48 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2022-01-17 18:08:48 +0300 |
commit | e3fd0b1d177cb1a17e6ec729b7d695465f67ead8 (patch) | |
tree | f22da6ea944b90b152f96c135c8b3193e74fe055 /source/blender/gpu | |
parent | 7abdd82dfdad893957e8550c15f9557253971d7d (diff) |
Fix compiler warning on Windows
The variable was `uint64_t` and needs `1ull`
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/opengl/gl_shader_interface.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/opengl/gl_shader_interface.cc b/source/blender/gpu/opengl/gl_shader_interface.cc index 9dd7b1d57c3..2211c2fbb7c 100644 --- a/source/blender/gpu/opengl/gl_shader_interface.cc +++ b/source/blender/gpu/opengl/gl_shader_interface.cc @@ -402,7 +402,7 @@ GLShaderInterface::GLShaderInterface(GLuint program, const shader::ShaderCreateI glUniform1i(input->location, res.slot); } input->binding = res.slot; - enabled_tex_mask_ |= (1 << input->binding); + enabled_tex_mask_ |= (1ull << input->binding); input++; } else if (res.bind_type == ShaderCreateInfo::Resource::BindType::IMAGE) { |