From: Brian Date: Mon, 25 Feb 2008 18:21:03 +0000 (-0700) Subject: gallium/i915: Use hardware rendering, unless INTEL_SP env var is set X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea02342c11eaeb700495b403caecc13a129333e8;p=mesa.git gallium/i915: Use hardware rendering, unless INTEL_SP env var is set --- diff --git a/src/gallium/winsys/dri/intel/intel_context.c b/src/gallium/winsys/dri/intel/intel_context.c index c033f2a592c..79b320c6bf4 100644 --- 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 {