Skip to content
Snippets Groups Projects
Commit 252a2ea3 authored by Józef Kucia's avatar Józef Kucia
Browse files

libs/vkd3d-common: Fix assert() condition.

parent f7e738c2
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ void vkd3d_dbg_printf(enum vkd3d_dbg_level level, const char *function, const ch
if (vkd3d_dbg_get_level() < level)
return;
assert(level <= ARRAY_SIZE(debug_level_names));
assert(level < ARRAY_SIZE(debug_level_names));
fprintf(stderr, "%s:%s: ", debug_level_names[level], function);
va_start(args, fmt);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment