aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Visual.c2
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Visual.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Visual.c b/nx-X11/programs/Xserver/hw/nxagent/Visual.c
index 43f582f16..6be82148f 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Visual.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Visual.c
@@ -111,6 +111,7 @@ Colormap nxagentDefaultVisualColormap(Visual *visual)
return None;
}
+#if 0
/*
* This is currently unused. It should serve the scope of matching a
* visual whenever a drawable has a different depth than the real
@@ -129,6 +130,7 @@ Visual *nxagentVisualFromDepth(ScreenPtr pScreen, int depth)
return NULL;
}
+#endif
/*
* Create a fake 32 bits depth visual and initialize it based on the
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Visual.h b/nx-X11/programs/Xserver/hw/nxagent/Visual.h
index cfb0f8977..40946f3c0 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Visual.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Visual.h
@@ -42,7 +42,10 @@ is" without express or implied warranty.
Visual *nxagentVisual(VisualPtr pVisual);
Visual *nxagentVisualFromID(ScreenPtr pScreen, VisualID visual);
+
+#if 0
Visual *nxagentVisualFromDepth(ScreenPtr pScreen, int depth);
+#endif
Colormap nxagentDefaultVisualColormap(Visual *visual);