iris: Stop chopping off the first nine characters of the renderer string
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 11 Feb 2019 19:05:48 +0000 (11:05 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:12 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_screen.c

index 5ab3076ad0dc0d6d4764d95f0cdb8890cd7281ee..0ee07a7e4f65224934eaabbf3af5bb9743fea67e 100644 (file)
@@ -86,7 +86,7 @@ iris_get_name(struct pipe_screen *pscreen)
       chipset = "Unknown Intel Chipset";
       break;
    }
-   return &chipset[9];
+   return chipset;
 }
 
 static int