summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_screen.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-10-28 10:21:54 +0000
committerEmil Velikov <[email protected]>2015-10-30 17:37:08 +0000
commite0056228f6b4fb7614332c9b2edef891c9b6ee6f (patch)
tree4ed6a180b57d0000508a818e02ce0a8f7624b78c /src/gallium/drivers/virgl/virgl_screen.c
parent0c82c2fb0b5d7c3b481190667a481bf2dd126e36 (diff)
virgl: remove sw_winsys pointer from virgl_screen
The screen already has a pointer to the (base) winsys object. With the latter of which implemented/sub-classed as either drm or sw based one, depending on the target. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_screen.c')
-rw-r--r--src/gallium/drivers/virgl/virgl_screen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c
index ebc42f4a5d7..fbc6ababd46 100644
--- a/src/gallium/drivers/virgl/virgl_screen.c
+++ b/src/gallium/drivers/virgl/virgl_screen.c
@@ -532,7 +532,6 @@ virgl_create_screen(struct virgl_winsys *vws)
return NULL;
screen->vws = vws;
- screen->winsys = NULL;
screen->base.get_name = virgl_get_name;
screen->base.get_vendor = virgl_get_vendor;
screen->base.get_param = virgl_get_param;