summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/python/st_hardpipe_winsys.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/python/st_hardpipe_winsys.c')
-rw-r--r--src/gallium/state_trackers/python/st_hardpipe_winsys.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/gallium/state_trackers/python/st_hardpipe_winsys.c b/src/gallium/state_trackers/python/st_hardpipe_winsys.c
index a3110a19d5..0bf7c51613 100644
--- a/src/gallium/state_trackers/python/st_hardpipe_winsys.c
+++ b/src/gallium/state_trackers/python/st_hardpipe_winsys.c
@@ -207,16 +207,11 @@ st_hardpipe_load(void)
#endif
-static struct pipe_screen *
-st_hardpipe_screen_create(void)
+struct pipe_screen *
+st_hardware_screen_create(void)
{
if(st_hardpipe_load())
return pfnGetGalliumScreenMESA();
else
- return st_softpipe_winsys.screen_create();
+ return st_software_screen_create();
}
-
-
-const struct st_winsys st_hardpipe_winsys = {
- &st_hardpipe_screen_create
-};