mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-09 03:48:04 +02:00
dix: remove unused debug code
This commit is contained in:
parent
51813d77bf
commit
6716488fa2
1 changed files with 0 additions and 10 deletions
10
dix/main.c
10
dix/main.c
|
|
@ -701,9 +701,6 @@ AddScreen(
|
|||
int i;
|
||||
int scanlinepad, format, depth, bitsPerPixel, j, k;
|
||||
ScreenPtr pScreen;
|
||||
#ifdef DEBUG
|
||||
void (**jNI) ();
|
||||
#endif /* DEBUG */
|
||||
|
||||
i = screenInfo.numScreens;
|
||||
if (i == MAXSCREENS)
|
||||
|
|
@ -737,13 +734,6 @@ AddScreen(
|
|||
pScreen->ClipNotify = 0; /* for R4 ddx compatibility */
|
||||
pScreen->CreateScreenResources = 0;
|
||||
|
||||
#ifdef DEBUG
|
||||
for (jNI = &pScreen->QueryBestSize;
|
||||
jNI < (void (**) ()) &pScreen->SendGraphicsExpose;
|
||||
jNI++)
|
||||
*jNI = NotImplemented;
|
||||
#endif /* DEBUG */
|
||||
|
||||
/*
|
||||
* This loop gets run once for every Screen that gets added,
|
||||
* but thats ok. If the ddx layer initializes the formats
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue