Dead ifdefs for BITMAP_SCANLINE_UNIT == 64
This appears to be a legacy of cfb24 not being smart enough to deal with this case. But since cfb24 unexists, die die die.
This commit is contained in:
@@ -481,16 +481,6 @@ xf86SetDepthBpp(ScrnInfoPtr scrp, int depth, int dummy, int fbbpp,
|
||||
scrp->bitsPerPixelFrom = X_DEFAULT;
|
||||
scrp->depthFrom = X_DEFAULT;
|
||||
|
||||
#if BITMAP_SCANLINE_UNIT == 64
|
||||
/*
|
||||
* For platforms with 64-bit scanlines, modify the driver's depth24flags
|
||||
* to remove preferences for packed 24bpp modes, which are not currently
|
||||
* supported on these platforms.
|
||||
*/
|
||||
depth24flags &= ~(SupportConvert32to24 | SupportConvert32to24 |
|
||||
PreferConvert24to32 | PreferConvert32to24);
|
||||
#endif
|
||||
|
||||
if (xf86FbBpp > 0) {
|
||||
scrp->bitsPerPixel = xf86FbBpp;
|
||||
scrp->bitsPerPixelFrom = X_CMDLINE;
|
||||
|
||||
Reference in New Issue
Block a user