From 027bb77e02cf38c553d1396a348783ddc1b7913c Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Tue, 4 Apr 2006 13:03:20 +0000 Subject: [PATCH] We always have a back buffer. Fixes visual problems. --- src/mesa/drivers/dri/i915/intel_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c index c8649d8243a..a87de17304f 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 -- 2.30.2