re-enable rect texture
authorAlan Hourihane <alanh@tungstengraphics.com>
Fri, 11 Jun 2004 15:36:42 +0000 (15:36 +0000)
committerAlan Hourihane <alanh@tungstengraphics.com>
Fri, 11 Jun 2004 15:36:42 +0000 (15:36 +0000)
src/mesa/drivers/dri/i915/i830_context.c
src/mesa/drivers/dri/i915/i915_context.c

index 4acec31265d29c2b77ad10abd9d05accb0fd1482..c7d80f70531c339ffa2562fd90a34977dcf929c8 100644 (file)
@@ -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;
index f2cdcfc64fb3066b5c8ef3496690a460819d248f..3bb5b0df7844273187e6eb501263eae3d5f8eab0 100644 (file)
@@ -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;