summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/i915/i915_debug.c')
-rw-r--r--src/gallium/drivers/i915/i915_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/i915/i915_debug.c b/src/gallium/drivers/i915/i915_debug.c
index 8dbd36cc318..d11da83eb29 100644
--- a/src/gallium/drivers/i915/i915_debug.c
+++ b/src/gallium/drivers/i915/i915_debug.c
@@ -51,10 +51,10 @@ boolean i915_tiling = TRUE;
DEBUG_GET_ONCE_FLAGS_OPTION(i915_debug, "I915_DEBUG", debug_options, 0);
DEBUG_GET_ONCE_BOOL_OPTION(i915_no_tiling, "I915_NO_TILING", FALSE);
-void i915_debug_init(struct i915_screen *screen)
+void i915_debug_init(struct i915_screen *is)
{
i915_debug = debug_get_option_i915_debug();
- i915_tiling = !debug_get_option_i915_no_tiling();
+ is->debug.tiling = !debug_get_option_i915_no_tiling();
}