i915g: Fix copy pasto
authorJakob Bornecrantz <jakob@vmware.com>
Tue, 29 Jun 2010 11:36:40 +0000 (12:36 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Tue, 29 Jun 2010 11:36:40 +0000 (12:36 +0100)
src/gallium/targets/egl/pipe_i915.c

index 1df650c346603c785e02fd8fc5ef5295fd106b74..758a921b481bc83b2067e6c0c39b574c3453f486 100644 (file)
@@ -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;