gallium/i915: Use hardware rendering, unless INTEL_SP env var is set

This commit is contained in:
Brian 2008-02-25 11:21:03 -07:00
parent 20839b37ed
commit ea02342c11
1 changed files with 2 additions and 1 deletions

View File

@ -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 {