OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: drop legacy no_rast dri option
[android-x86/external-mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i915
/
intel_context.c
diff --git
a/src/mesa/drivers/dri/i915/intel_context.c
b/src/mesa/drivers/dri/i915/intel_context.c
index
728d6d5
..
abc16d4
100644
(file)
--- 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 */
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;
}
fprintf(stderr, "disabling 3D rasterization\n");
intel->no_rast = 1;
}