aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-09-09 07:28:12 -0700
committerEric Anholt <[email protected]>2014-09-09 07:28:12 -0700
commit840f38112026e9f71edd3dba7f88e09dec57b960 (patch)
tree8a08c517f1f9aa87a2efcd80229e990bb966201d /src
parent181581280bd430d122d416e308c1de82db82da04 (diff)
vc4: Add missing null terminator to the debug options list.
So far, apparently there's been some NULL laying at the address just after the options anyway, but the next commit changed that.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/vc4/vc4_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c
index b0f97103dee..793f8d39664 100644
--- a/src/gallium/drivers/vc4/vc4_screen.c
+++ b/src/gallium/drivers/vc4/vc4_screen.c
@@ -50,6 +50,7 @@ static const struct debug_named_value debug_options[] = {
"Print during performance-related events" },
{ "norast", VC4_DEBUG_NORAST,
"Skip actual hardware execution of commands" },
+ { NULL }
};
DEBUG_GET_ONCE_FLAGS_OPTION(vc4_debug, "VC4_DEBUG", debug_options, 0)