summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gallium/winsys/drm/amd/amd_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/amd/amd_context.c b/src/gallium/winsys/drm/amd/amd_context.c
index 9b3c9c2ab2..86e6e0f5f7 100644
--- a/src/gallium/winsys/drm/amd/amd_context.c
+++ b/src/gallium/winsys/drm/amd/amd_context.c
@@ -242,7 +242,7 @@ GLboolean amd_context_create(const __GLcontextModes *visual,
return GL_FALSE;
}
- if (1) {
+ if (!getenv("AMD_SOFTPIPE")) {
fprintf(stderr, "Creating r300 context...\n");
pipe =
r300_create_context(NULL,