Cleanup: replace BLI_assert(0 && "text") with BLI_assert_msg

This commit is contained in:
2021-07-21 20:39:51 +10:00
parent ab101d444d
commit e7082fbdb0
12 changed files with 34 additions and 34 deletions

View File

@@ -657,7 +657,7 @@ static const char *attr_prefix_get(CustomDataType type)
case CD_AUTO_FROM_NAME:
return "a";
default:
BLI_assert(false && "GPUVertAttr Prefix type not found : This should not happen!");
BLI_assert_msg(0, "GPUVertAttr Prefix type not found : This should not happen!");
return "";
}
}