From 7cbc9663240bf43c5715607c2b1e53a0e04af71c Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Fri, 11 Jun 2004 15:36:42 +0000 Subject: re-enable rect texture --- src/mesa/drivers/dri/i915/i830_context.c | 2 +- src/mesa/drivers/dri/i915/i915_context.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/i915') diff --git a/src/mesa/drivers/dri/i915/i830_context.c b/src/mesa/drivers/dri/i915/i830_context.c index 4acec31265d..c7d80f70531 100644 --- a/src/mesa/drivers/dri/i915/i830_context.c +++ b/src/mesa/drivers/dri/i915/i830_context.c @@ -122,7 +122,7 @@ GLboolean i830CreateContext( const __GLcontextModes *mesaVis, 11, /* max 2D texture size is 2048x2048 */ 8, /* max 3D texture size is 256^3 */ 0, /* max CUBE. not supported */ - 0, /* max RECT. supported, but not enabled */ + 11, /* max RECT. supported */ 12, GL_FALSE ); intel->ctx.Const.MaxTextureUnits = I830_TEX_UNITS; diff --git a/src/mesa/drivers/dri/i915/i915_context.c b/src/mesa/drivers/dri/i915/i915_context.c index f2cdcfc64fb..3bb5b0df784 100644 --- a/src/mesa/drivers/dri/i915/i915_context.c +++ b/src/mesa/drivers/dri/i915/i915_context.c @@ -173,7 +173,7 @@ GLboolean i915CreateContext( const __GLcontextModes *mesaVis, 11, /* max 2D texture size is 2048x2048 */ 8, /* 3D texture */ 11, /* cube texture. */ - 0, /* max RECT. supported, but not enabled */ + 11, /* rect texture */ 12, GL_FALSE ); ctx->Const.MaxTextureUnits = I915_TEX_UNITS; -- cgit v1.2.3