summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/mach64/mach64_context.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2005-05-30 06:41:19 +0000
committerEric Anholt <anholt@FreeBSD.org>2005-05-30 06:41:19 +0000
commit993d8ad5ef6d0485c578cd632cbe0621887dafee (patch)
treed79b704826135b303a6e0243d0c8e98f77908bcb /src/mesa/drivers/dri/mach64/mach64_context.c
parentb328dded7513c6092861197f6ba2edf9341e46d3 (diff)
Add the no_rast debug option to mach64. It shows that software fallbacks are
pretty broken.
Diffstat (limited to 'src/mesa/drivers/dri/mach64/mach64_context.c')
-rw-r--r--src/mesa/drivers/dri/mach64/mach64_context.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/mach64/mach64_context.c b/src/mesa/drivers/dri/mach64/mach64_context.c
index 8f508fa911..524046ce43 100644
--- a/src/mesa/drivers/dri/mach64/mach64_context.c
+++ b/src/mesa/drivers/dri/mach64/mach64_context.c
@@ -230,6 +230,11 @@ GLboolean mach64CreateContext( const __GLcontextModes *glVisual,
driContextPriv->driverPrivate = (void *)mmesa;
+ if (driQueryOptionb(&mmesa->optionCache, "no_rast")) {
+ fprintf(stderr, "disabling 3D acceleration\n");
+ FALLBACK(mmesa, MACH64_FALLBACK_DISABLE, 1);
+ }
+
return GL_TRUE;
}