From: Alan Hourihane Date: Fri, 11 Jun 2004 15:36:42 +0000 (+0000) Subject: re-enable rect texture X-Git-Tag: mesa-7.8~10921 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7cbc9663240bf43c5715607c2b1e53a0e04af71c;p=platform%2Fupstream%2Fmesa.git re-enable rect texture --- diff --git a/src/mesa/drivers/dri/i915/i830_context.c b/src/mesa/drivers/dri/i915/i830_context.c index 4acec31..c7d80f7 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 f2cdcfc..3bb5b0d 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;