diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-07-21 13:39:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-07-21 13:39:51 +0300 |
commit | e7082fbdb0eab8f8ba435ee6f3c065f0f57966b3 (patch) | |
tree | 7c1e7efcf980f559d6313839cced67c13afd2276 /source/blender/gpu/opengl/gl_shader_interface.cc | |
parent | ab101d444d30a2f98320fc96f2dc4d56ccd98965 (diff) |
Cleanup: replace BLI_assert(0 && "text") with BLI_assert_msg
Diffstat (limited to 'source/blender/gpu/opengl/gl_shader_interface.cc')
-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 9cf072b2e8a..9900a4e0766 100644 --- a/source/blender/gpu/opengl/gl_shader_interface.cc +++ b/source/blender/gpu/opengl/gl_shader_interface.cc @@ -170,7 +170,7 @@ GLShaderInterface::GLShaderInterface(GLuint program) program, GL_SHADER_STORAGE_BLOCK, GL_MAX_NAME_LENGTH, &max_ssbo_name_len); } - BLI_assert(ubo_len <= 16 && "enabled_ubo_mask_ is uint16_t"); + BLI_assert_msg(ubo_len <= 16, "enabled_ubo_mask_ is uint16_t"); /* Work around driver bug with Intel HD 4600 on Windows 7/8, where * GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH does not work. */ |