summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/xlib/xlib_softpipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/xlib/xlib_softpipe.c')
-rw-r--r--src/gallium/winsys/xlib/xlib_softpipe.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gallium/winsys/xlib/xlib_softpipe.c b/src/gallium/winsys/xlib/xlib_softpipe.c
index 3b51d7c17c..08b7f08837 100644
--- a/src/gallium/winsys/xlib/xlib_softpipe.c
+++ b/src/gallium/winsys/xlib/xlib_softpipe.c
@@ -57,22 +57,11 @@ fail:
}
-static void
-xlib_softpipe_display_surface(struct xlib_drawable *xm_buffer,
- struct pipe_surface *surf)
-{
- struct softpipe_texture *texture = softpipe_texture(surf->texture);
-
- assert(texture->dt);
- if (texture->dt)
- xlib_sw_display(xm_buffer, texture->dt);
-}
struct xm_driver xlib_softpipe_driver =
{
.create_pipe_screen = xlib_create_softpipe_screen,
- .display_surface = xlib_softpipe_display_surface
};