summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-07-11 03:15:58 +1000
committerDave Airlie <[email protected]>2009-07-11 03:17:13 +1000
commitdb618427abab44939189c688e58ea7eca52f1795 (patch)
tree0f272f52e76a07f3b226898aba959edac184bcf5
parent85957cb512e74c8ddeb5ba2e06df091943ab8400 (diff)
radeon: enable GL_NV_texture_rectangle under dri2.
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_context.c b/src/mesa/drivers/dri/radeon/radeon_context.c
index 46cba73e29c..c457fb654ea 100644
--- a/src/mesa/drivers/dri/radeon/radeon_context.c
+++ b/src/mesa/drivers/dri/radeon/radeon_context.c
@@ -365,7 +365,7 @@ r100CreateContext( const __GLcontextModes *glVisual,
_mesa_enable_extension( ctx, "GL_EXT_texture_compression_s3tc" );
}
- if (rmesa->radeon.dri.drmMinor >= 9)
+ if (rmesa->radeon.radeonScreen->kernel_mm || rmesa->radeon.dri.drmMinor >= 9)
_mesa_enable_extension( ctx, "GL_NV_texture_rectangle");
/* XXX these should really go right after _mesa_init_driver_functions() */