projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20839b3
)
gallium/i915: Use hardware rendering, unless INTEL_SP env var is set
author
Brian
<brian@i915.localnet.net>
Mon, 25 Feb 2008 18:21:03 +0000
(11:21 -0700)
committer
Brian
<brian@i915.localnet.net>
Mon, 25 Feb 2008 18:21:03 +0000
(11:21 -0700)
src/gallium/winsys/dri/intel/intel_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/dri/intel/intel_context.c
b/src/gallium/winsys/dri/intel/intel_context.c
index c033f2a592cbdc4811091d82b57296bc1425f06c..79b320c6bf409bf81d7a234ad765d79daf80ffbc 100644
(file)
--- a/
src/gallium/winsys/dri/intel/intel_context.c
+++ b/
src/gallium/winsys/dri/intel/intel_context.c
@@
-188,7
+188,8
@@
intelCreateContext(const __GLcontextModes * visual,
/*
* Pipe-related setup
*/
- if (!getenv("INTEL_HW")) {
+ if (getenv("INTEL_SP")) {
+ /* use softpipe driver instead of hw */
pipe = intel_create_softpipe( intel, intelScreen->winsys );
}
else {