Commit 21732166 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

pass in winsys.

parent e392a484
......@@ -63,7 +63,7 @@ sw_screen_create_named(struct sw_winsys *winsys, const char *driver)
#if defined(GALLIUM_PANFROST)
if (screen == NULL && strcmp(driver, "panfrost") == 0)
screen = panfrost_create_screen(-1, NULL);
screen = panfrost_create_screen(-1, (struct renderonly *) winsys);
#endif
return screen;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment