defaultdepth.patch 587 B

123456789101112
  1. --- xf86-video-tseng-1.1.0/src/tseng_driver.c.jx 2006-04-07 17:43:17.000000000 -0400
  2. +++ xf86-video-tseng-1.1.0/src/tseng_driver.c 2007-03-28 12:47:45.000000000 -0400
  3. @@ -1069,7 +1069,7 @@
  4. * Our default depth is 8, so pass it to the helper function.
  5. * Our preference for depth 24 is 24bpp, so tell it that too.
  6. */
  7. - if (!xf86SetDepthBpp(pScrn, 8, 8, 8, Support24bppFb | Support32bppFb |
  8. + if (!xf86SetDepthBpp(pScrn, 0, 0, 0, Support24bppFb | Support32bppFb |
  9. SupportConvert32to24 | PreferConvert32to24)) {
  10. return FALSE;
  11. } else {