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 c033f2a592cbdc4811091d82b57296bc1425f06c..79b320c6bf409bf81d7a234ad765d79daf80ffbc 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 {