projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1815812
)
vc4: Add missing null terminator to the debug options list.
author
Eric Anholt
<eric@anholt.net>
Tue, 9 Sep 2014 14:28:12 +0000
(07:28 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 9 Sep 2014 14:28:12 +0000
(07:28 -0700)
So far, apparently there's been some NULL laying at the address just after
the options anyway, but the next commit changed that.
src/gallium/drivers/vc4/vc4_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_screen.c
b/src/gallium/drivers/vc4/vc4_screen.c
index b0f97103deef0078b5b05baf089a26373bcf079b..793f8d396641fda6273a66ef1d8255a09aded2dd 100644
(file)
--- 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)