Module: Mesa
Branch: master
Commit: c745beaf10d4643024decbb06ceba3e2e56a0c79
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c745beaf10d4643024decbb06ceba3e2e56a0c79

Author: Samuel Pitoiset <samuel.pitoi...@gmail.com>
Date:   Fri Jul  7 09:52:05 2017 +0200

ddebug: fix parsing of the pipelined mode

Trivial.

Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>

---

 src/gallium/drivers/ddebug/dd_screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/ddebug/dd_screen.c 
b/src/gallium/drivers/ddebug/dd_screen.c
index a5d2be1402..14e6f6b011 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)

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to