mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d-common: Fix assert() condition.
This commit is contained in:
parent
f7e738c27a
commit
252a2ea353
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user