aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2008-01-17 14:23:04 -0800
committerEric Anholt <[email protected]>2008-01-17 14:23:04 -0800
commita0e453a5eca7ed4b57a7f4c1e418d368815e3957 (patch)
tree93f399b9cf36b623a696a71f42c6ffbd2c946879 /src/mesa/drivers/dri/i965
parent8517079cbcbbf31291b05420f3b776df712dfd47 (diff)
[intel] Make the no_rast option be standard driconf instead of INTEL_NO_RAST.
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/intel_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_context.c b/src/mesa/drivers/dri/i965/intel_context.c
index e54005af27e..68b8bc14271 100644
--- a/src/mesa/drivers/dri/i965/intel_context.c
+++ b/src/mesa/drivers/dri/i965/intel_context.c
@@ -584,7 +584,7 @@ GLboolean intelInitContext( struct intel_context *intel,
/* DRI_TEXMGR_DO_TEXTURE_RECT ); */
/* Force all software fallbacks */
- if (getenv("INTEL_NO_RAST")) {
+ if (driQueryOptionb(&intel->optionCache, "no_rast")) {
fprintf(stderr, "disabling 3D rasterization\n");
intel->no_rast = 1;
}