summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915simple/i915_screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_screen.c')
-rw-r--r--src/gallium/drivers/i915simple/i915_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915simple/i915_screen.c b/src/gallium/drivers/i915simple/i915_screen.c
index c9a9e90f0e6..a7a95edaa05 100644
--- a/src/gallium/drivers/i915simple/i915_screen.c
+++ b/src/gallium/drivers/i915simple/i915_screen.c
@@ -342,7 +342,7 @@ i915_create_screen(struct pipe_winsys *winsys, uint pci_id)
i915screen->base.transfer_map = i915_transfer_map;
i915screen->base.transfer_unmap = i915_transfer_unmap;
- i915_init_screen_texture_functions(&i915screen->base);
+ i915_init_screen_texture_functions(i915screen);
u_simple_screen_init(&i915screen->base);
return &i915screen->base;