From: Alan Hourihane Date: Tue, 4 Apr 2006 13:03:20 +0000 (+0000) Subject: We always have a back buffer. Fixes visual problems. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=027bb77e02cf38c553d1396a348783ddc1b7913c;p=mesa.git We always have a back buffer. Fixes visual problems. --- 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