summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-static
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/egl-static')
-rw-r--r--src/gallium/targets/egl-static/egl_pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/targets/egl-static/egl_pipe.c b/src/gallium/targets/egl-static/egl_pipe.c
index e1a1ad2ec73..57a3233530f 100644
--- a/src/gallium/targets/egl-static/egl_pipe.c
+++ b/src/gallium/targets/egl-static/egl_pipe.c
@@ -33,7 +33,7 @@
#include "i915/i915_public.h"
#include "target-helpers/inline_wrapper_sw_helper.h"
/* for ilo */
-#include "intel/drm/intel_drm_public.h"
+#include "intel/intel_winsys.h"
#include "ilo/ilo_public.h"
/* for nouveau */
#include "nouveau/drm/nouveau_drm_public.h"
@@ -80,7 +80,7 @@ pipe_ilo_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;