summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2006-04-04 13:03:20 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2006-04-04 13:03:20 +0000
commit027bb77e02cf38c553d1396a348783ddc1b7913c (patch)
treefbea6915852dc7cf0066276a14f23c2bb697ef7c /src
parentf8ca99d697e428936cea0c7c7fc03352cf909cc6 (diff)
We always have a back buffer. Fixes visual problems.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i915/intel_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c
index c8649d8243..a87de17304 100644
--- a/src/mesa/drivers/dri/i915/intel_screen.c
+++ b/src/mesa/drivers/dri/i915/intel_screen.c
@@ -666,7 +666,7 @@ void * __driCreateNewScreen_20050727( __DRInativeDisplay *dpy, int scrn, __DRIsc
*driver_modes = intelFillInModes( dri_priv->cpp * 8,
(dri_priv->cpp == 2) ? 16 : 24,
(dri_priv->cpp == 2) ? 0 : 8,
- (dri_priv->backOffset != dri_priv->depthOffset) );
+ 1 );
/* Calling driInitExtensions here, with a NULL context pointer, does not actually
* enable the extensions. It just makes sure that all the dispatch offsets for all