summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-01-17 14:23:04 -0800
committerEric Anholt <eric@anholt.net>2008-01-17 14:23:04 -0800
commita0e453a5eca7ed4b57a7f4c1e418d368815e3957 (patch)
tree93f399b9cf36b623a696a71f42c6ffbd2c946879 /src/mesa/drivers/dri/i915
parent8517079cbcbbf31291b05420f3b776df712dfd47 (diff)
[intel] Make the no_rast option be standard driconf instead of INTEL_NO_RAST.
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r--src/mesa/drivers/dri/i915/intel_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c
index a43b7e7816..21da8af040 100644
--- a/src/mesa/drivers/dri/i915/intel_context.c
+++ b/src/mesa/drivers/dri/i915/intel_context.c
@@ -548,7 +548,7 @@ intelInitContext(struct intel_context *intel,
dri_bufmgr_set_debug(intel->bufmgr, GL_TRUE);
#endif
- if (getenv("INTEL_NO_RAST")) {
+ if (driQueryOptionb(&intel->optionCache, "no_rast")) {
fprintf(stderr, "disabling 3D rasterization\n");
FALLBACK(intel, INTEL_FALLBACK_USER, 1);
}