Commit c1fc4ba7 authored by Mike Gabriel's avatar Mike Gabriel

dix: Remove insane BC hacks

commit 6b5206e7cb8e5279816b48f014d47d3f03f16972 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jul 18 15:38:10 2008 +0300 dix: Remove insane BC hacks If your DDX needs a 1bpp mode and doesn't set it up, your DDX is incompetent. Backported-to-NX-by: 's avatarMike Gabriel <mike.gabriel@das-netzwerkteam.de>
parent cb9e50c2
......@@ -161,7 +161,7 @@ ReplyNotSwappd(
int
main(int argc, char *argv[], char *envp[])
{
int i, j, k, error;
int i, error;
char *xauthfile;
HWEventQueueType alwaysCheckForInput[2];
......@@ -250,17 +250,6 @@ main(int argc, char *argv[], char *envp[])
screenInfo.numScreens = 0;
screenInfo.numVideoScreens = -1;
/*
* Just in case the ddx doesnt supply a format for depth 1 (like qvss).
*/
j = indexForBitsPerPixel[ 1 ];
k = indexForScanlinePad[ BITMAP_SCANLINE_PAD ];
PixmapWidthPaddingInfo[1].padRoundUp = BITMAP_SCANLINE_PAD-1;
PixmapWidthPaddingInfo[1].padPixelsLog2 = answer[j][k];
j = indexForBitsPerPixel[8]; /* bits per byte */
PixmapWidthPaddingInfo[1].padBytesLog2 = answer[j][k];
PixmapWidthPaddingInfo[1].bitsPerPixel = 1;
InitAtoms();
InitEvents();
InitGlyphCaching();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment