mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-16 01:50:32 +01:00
nouveau: Null terminate the debug flag list
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
parent
4a22e24e98
commit
b3531276c6
1 changed files with 1 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ nouveau_ws_device_set_dbg_flags(struct nouveau_ws_device *dev)
|
|||
const struct debug_control flags[] = {
|
||||
{ "push_dump", NVK_DEBUG_PUSH_DUMP },
|
||||
{ "push_sync", NVK_DEBUG_PUSH_SYNC },
|
||||
{ NULL, 0 },
|
||||
};
|
||||
|
||||
dev->debug_flags = parse_debug_string(getenv("NVK_DEBUG"), flags);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue