summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2004-06-11 15:36:42 +0000
committerAlan Hourihane <[email protected]>2004-06-11 15:36:42 +0000
commit7cbc9663240bf43c5715607c2b1e53a0e04af71c (patch)
tree9a9fb919f7e5eb5f8d2e5f974512465f097d6490 /src/mesa
parent4102a3045cb64a7875c524a58f13766a48bbe164 (diff)
re-enable rect texture
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i915/i830_context.c2
-rw-r--r--src/mesa/drivers/dri/i915/i915_context.c2
2 files changed, 2 insertions, 2 deletions
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;