summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915/i915_context.c
diff options
context:
space:
mode:
authorRoland Scheidegger <rscheidegger@gmx.ch>2006-09-01 23:36:30 +0000
committerRoland Scheidegger <rscheidegger@gmx.ch>2006-09-01 23:36:30 +0000
commit5b4e7cdca4be195bbce4620f26b8e7f644862b79 (patch)
tree9e3b9f856183badfd331033ce0dbe3fa1fec85da /src/mesa/drivers/dri/i915/i915_context.c
parent91650469aeb01f249bcd553d9d309b3016c2f93c (diff)
fix the presumably broken check for the allow_large_textures and vblank_mode options (same as bug 8042).
Diffstat (limited to 'src/mesa/drivers/dri/i915/i915_context.c')
-rw-r--r--src/mesa/drivers/dri/i915/i915_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_context.c b/src/mesa/drivers/dri/i915/i915_context.c
index 783bbc2ab8..8c99d0e1d6 100644
--- a/src/mesa/drivers/dri/i915/i915_context.c
+++ b/src/mesa/drivers/dri/i915/i915_context.c
@@ -137,7 +137,7 @@ GLboolean i915CreateContext( const __GLcontextModes *mesaVis,
* hardware.
*/
ctx->Const.MaxTextureUnits = I915_TEX_UNITS;
- i = driQueryOptioni( &intel->intelScreen->optionCache, "allow_large_textures");
+ i = driQueryOptioni( &intel->optionCache, "allow_large_textures");
driCalculateMaxTextureLevels( intel->texture_heaps,
intel->nr_heaps,
&intel->ctx.Const,