summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-ilo/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/dri-ilo/target.c')
-rw-r--r--src/gallium/targets/dri-ilo/target.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/targets/dri-ilo/target.c b/src/gallium/targets/dri-ilo/target.c
index c27cb4745c7..451827a4309 100644
--- a/src/gallium/targets/dri-ilo/target.c
+++ b/src/gallium/targets/dri-ilo/target.c
@@ -1,7 +1,6 @@
#include "state_tracker/drm_driver.h"
#include "target-helpers/inline_debug_helper.h"
-#include "intel/drm/intel_drm_public.h"
-#include "intel/drm/intel_winsys.h"
+#include "intel/intel_winsys.h"
#include "ilo/ilo_public.h"
static struct pipe_screen *
@@ -10,13 +9,13 @@ create_screen(int fd)
struct intel_winsys *iws;
struct pipe_screen *screen;
- iws = intel_drm_winsys_create(fd);
+ iws = intel_winsys_create_for_fd(fd);
if (!iws)
return NULL;
screen = ilo_screen_create(iws);
if (!screen) {
- iws->destroy(iws);
+ intel_winsys_destroy(iws);
return NULL;
}