Mesa (master): iris: Actually put Mesa in GL_RENDERER string

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Apr 24 20:00:08 UTC 2019


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

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Apr 24 12:53:30 2019 -0700

iris: Actually put Mesa in GL_RENDERER string

I constructed the right thing and then returned the other one.

---

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

diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c
index 0dda0da6d46..4318dd03083 100644
--- a/src/gallium/drivers/iris/iris_screen.c
+++ b/src/gallium/drivers/iris/iris_screen.c
@@ -90,7 +90,7 @@ iris_get_name(struct pipe_screen *pscreen)
    }
 
    snprintf(buf, sizeof(buf), "Mesa %s", chipset);
-   return chipset;
+   return buf;
 }
 
 static int




More information about the mesa-commit mailing list