gallium/i915: Use hardware rendering, unless INTEL_SP env var is set
authorBrian <brian@i915.localnet.net>
Mon, 25 Feb 2008 18:21:03 +0000 (11:21 -0700)
committerBrian <brian@i915.localnet.net>
Mon, 25 Feb 2008 18:21:03 +0000 (11:21 -0700)
src/gallium/winsys/dri/intel/intel_context.c

index c033f2a..79b320c 100644 (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 {