summaryrefslogtreecommitdiff
path: root/xc/lib/GL/mesa/src/drv/radeon/radeon_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/lib/GL/mesa/src/drv/radeon/radeon_context.c')
-rw-r--r--xc/lib/GL/mesa/src/drv/radeon/radeon_context.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/xc/lib/GL/mesa/src/drv/radeon/radeon_context.c b/xc/lib/GL/mesa/src/drv/radeon/radeon_context.c
index 2ead8e213..366f094ca 100644
--- a/xc/lib/GL/mesa/src/drv/radeon/radeon_context.c
+++ b/xc/lib/GL/mesa/src/drv/radeon/radeon_context.c
@@ -133,16 +133,8 @@ GLboolean radeonCreateContext( Display *dpy, GLvisual *glVisual,
ctx->Const.MaxTextureSize = (1 << 10);
}
- /* FIXME: Support all available texture units... */
ctx->Const.MaxTextureUnits = 2;
-#if ENABLE_PERF_BOXES
- if (getenv("LIBGL_PERFORMANCE_BOXES"))
- rmesa->boxes = 1;
- else
- rmesa->boxes = 0;
-#endif
-
ctx->DriverCtx = (void *)rmesa;
radeonDDInitExtensions( ctx );