From 5b4e7cdca4be195bbce4620f26b8e7f644862b79 Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Fri, 1 Sep 2006 23:36:30 +0000 Subject: fix the presumably broken check for the allow_large_textures and vblank_mode options (same as bug 8042). --- src/mesa/drivers/dri/i915/i915_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/i915/i915_context.c') 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, -- cgit v1.2.3