Cleanup: replace BLI_assert(0 && "text") with BLI_assert_msg
This commit is contained in:
@@ -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 "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user