From: Jakob Bornecrantz Date: Thu, 18 Feb 2010 14:51:59 +0000 (+0100) Subject: st/xorg: Make default of debugging fallbacks smart X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1eb5b42097fe2cf6e9d87db72dc004379e424101;p=mesa.git st/xorg: Make default of debugging fallbacks smart Set it to the same as 2d acceleration --- diff --git a/src/gallium/state_trackers/xorg/xorg_driver.c b/src/gallium/state_trackers/xorg/xorg_driver.c index 90b8b8b4654..ad4f38f4509 100644 --- a/src/gallium/state_trackers/xorg/xorg_driver.c +++ b/src/gallium/state_trackers/xorg/xorg_driver.c @@ -673,7 +673,7 @@ drv_screen_init(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) xf86SetBlackWhitePixels(pScreen); ms->accelerate_2d = xf86ReturnOptValBool(ms->Options, OPTION_2D_ACCEL, FALSE); - ms->debug_fallback = xf86ReturnOptValBool(ms->Options, OPTION_DEBUG_FALLBACK, TRUE); + ms->debug_fallback = xf86ReturnOptValBool(ms->Options, OPTION_DEBUG_FALLBACK, ms->accelerate_2d); if (ms->screen) { ms->exa = xorg_exa_init(pScrn, ms->accelerate_2d);