diff options
author | Timothy Arceri <[email protected]> | 2018-08-15 13:56:53 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-08-21 09:19:01 +1000 |
commit | c5f863f2fddf4ae289749b893d253078871f0af7 (patch) | |
tree | ad122a605d1a542b45ce1d712635dd73c2457a5e /src/mesa/drivers/dri/i915/intel_context.c | |
parent | 02e32c92a2ae28894cfd818941a47f24717511a7 (diff) |
mesa: drop legacy no_rast dri option
Add enviroment var overrides to legacy drivers instead.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_context.c | 2 |
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 728d6d58699..abc16d47491 100644 --- a/src/mesa/drivers/dri/i915/intel_context.c +++ b/src/mesa/drivers/dri/i915/intel_context.c @@ -535,7 +535,7 @@ intelInitContext(struct intel_context *intel, intel->prim.primitive = ~0; /* Force all software fallbacks */ - if (driQueryOptionb(&intel->optionCache, "no_rast")) { + if (getenv("INTEL_NO_RAST")) { fprintf(stderr, "disabling 3D rasterization\n"); intel->no_rast = 1; } |