summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/targets/egl/pipe_i915.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/targets/egl/pipe_i915.c b/src/gallium/targets/egl/pipe_i915.c
index 1df650c3466..758a921b481 100644
--- a/src/gallium/targets/egl/pipe_i915.c
+++ b/src/gallium/targets/egl/pipe_i915.c
@@ -8,14 +8,14 @@
static struct pipe_screen *
create_screen(int fd)
{
- struct brw_winsys_screen *bws;
+ struct i915_winsys *iws;
struct pipe_screen *screen;
- bws = i915_drm_winsys_screen_create(fd);
- if (!bws)
+ iws = i915_drm_winsys_create(fd);
+ if (!iws)
return NULL;
- screen = i915_screen_create(bws);
+ screen = i915_screen_create(iws);
if (!screen)
return NULL;