summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ddebug/dd_screen.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-07-07 09:52:05 +0200
committerSamuel Pitoiset <[email protected]>2017-07-17 10:28:45 +0200
commitc745beaf10d4643024decbb06ceba3e2e56a0c79 (patch)
tree850a94a9b4d7b04a029ce10b578a3be9371eb84c /src/gallium/drivers/ddebug/dd_screen.c
parent9ee67467c9ea592340aee10a55ba54d7266ff0a9 (diff)
ddebug: fix parsing of the pipelined mode
Trivial. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ddebug/dd_screen.c')
-rw-r--r--src/gallium/drivers/ddebug/dd_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ddebug/dd_screen.c b/src/gallium/drivers/ddebug/dd_screen.c
index a5d2be1402d..14e6f6b011f 100644
--- a/src/gallium/drivers/ddebug/dd_screen.c
+++ b/src/gallium/drivers/ddebug/dd_screen.c
@@ -374,7 +374,7 @@ ddebug_screen_create(struct pipe_screen *screen)
if (sscanf(option+8, "%u", &apitrace_dump_call) != 1)
return screen;
- } else if (!strncmp(option, "pipelined", 8)) {
+ } else if (!strncmp(option, "pipelined", 9)) {
mode = DD_DETECT_HANGS_PIPELINED;
if (sscanf(option+10, "%u", &timeout) != 1)