diff options
author | Keith Whitwell <[email protected]> | 2010-03-09 17:31:50 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-03-09 17:32:10 +0000 |
commit | 5e72b89b89fe172638afa66abdd6607d11970e5a (patch) | |
tree | 90d0376a803f9d753fec719e4845ce60661fe626 /src/gallium/state_trackers | |
parent | d0aea650320fec0b8e01110eeee22b1f3700d587 (diff) |
egl/x11: use swrast-xlib helper
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/egl/x11/native_ximage.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/egl/x11/native_ximage.c b/src/gallium/state_trackers/egl/x11/native_ximage.c index 0aa25ead253..7d1462d4b78 100644 --- a/src/gallium/state_trackers/egl/x11/native_ximage.c +++ b/src/gallium/state_trackers/egl/x11/native_ximage.c @@ -32,9 +32,9 @@ #include "util/u_math.h" #include "util/u_format.h" #include "pipe/p_compiler.h" -#include "util/u_simple_screen.h" #include "util/u_inlines.h" #include "state_tracker/xlib_sw_winsys.h" +#include "target-helpers/swrast_xlib.h" #include "egllog.h" #include "native_x11.h" @@ -640,8 +640,7 @@ x11_create_ximage_display(EGLNativeDisplayType dpy) return NULL; } - xdpy->driver = xlib_sw_winsys_init(); - xdpy->base.screen = xdpy->driver->create_pipe_screen(xdpy->dpy); + xdpy->base.screen = swrast_xlib_create_screen(xdpy->dpy); xdpy->base.destroy = ximage_display_destroy; xdpy->base.get_param = ximage_display_get_param; |