mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
Xext: panoramix: drop dead code path on GLXPROXY symbol
This symbol doesn't seem to be defined ever (neither in Xorg tree, nor any headers) - it's a relic from DMX, which had been removed aeons ago. So let's drop that dead code path. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
a574ab57b2
commit
f9ae5def14
@@ -59,11 +59,6 @@ Equipment Corporation.
|
||||
#include "compint.h"
|
||||
#include "protocol-versions.h"
|
||||
|
||||
#ifdef GLXPROXY
|
||||
extern VisualPtr glxMatchVisual(ScreenPtr pScreen,
|
||||
VisualPtr pVisual, ScreenPtr pMatchScreen);
|
||||
#endif
|
||||
|
||||
/* Xinerama is disabled by default unless enabled via +xinerama */
|
||||
Bool noPanoramiXExtension = TRUE;
|
||||
|
||||
@@ -761,11 +756,7 @@ PanoramiXMaybeAddVisual(VisualPtr pVisual)
|
||||
for (k = 0; k < walkScreen->numVisuals; k++) {
|
||||
VisualPtr candidate = &walkScreen->visuals[k];
|
||||
|
||||
if ((*XineramaVisualsEqualPtr) (pVisual, walkScreen, candidate)
|
||||
#ifdef GLXPROXY
|
||||
&& glxMatchVisual(screenInfo.screens[0], pVisual, pScreen)
|
||||
#endif
|
||||
) {
|
||||
if ((*XineramaVisualsEqualPtr) (pVisual, walkScreen, candidate)) {
|
||||
found = TRUE;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user