Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2022-01-17 18:08:48 +0300
committerAntonio Vazquez <blendergit@gmail.com>2022-01-17 18:08:48 +0300
commite3fd0b1d177cb1a17e6ec729b7d695465f67ead8 (patch)
treef22da6ea944b90b152f96c135c8b3193e74fe055 /source/blender
parent7abdd82dfdad893957e8550c15f9557253971d7d (diff)
Fix compiler warning on Windows
The variable was `uint64_t` and needs `1ull`
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/gpu/opengl/gl_shader_interface.cc2
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) {