We always have a back buffer. Fixes visual problems.
authorAlan Hourihane <alanh@tungstengraphics.com>
Tue, 4 Apr 2006 13:03:20 +0000 (13:03 +0000)
committerAlan Hourihane <alanh@tungstengraphics.com>
Tue, 4 Apr 2006 13:03:20 +0000 (13:03 +0000)
src/mesa/drivers/dri/i915/intel_screen.c

index c8649d8243a91ce20648154852927bf9f3b94b8b..a87de17304fe31a89a857df32e042112c39d4d31 100644 (file)
@@ -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