diff options
author | Brian <[email protected]> | 2008-02-25 11:21:03 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-25 11:21:03 -0700 |
commit | ea02342c11eaeb700495b403caecc13a129333e8 (patch) | |
tree | 6f396fa3abed584290d2fb94f2e2d18313a823e8 /src | |
parent | 20839b37ed61b044d6224c0e373ce10d74be4f3d (diff) |
gallium/i915: Use hardware rendering, unless INTEL_SP env var is set
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/dri/intel/intel_context.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |