Commit 22f01d23 authored by Ulrich Sibiller's avatar Ulrich Sibiller

Visual.{ch}: disable unused code

parent 1bb0e999
...@@ -111,6 +111,7 @@ Colormap nxagentDefaultVisualColormap(Visual *visual) ...@@ -111,6 +111,7 @@ Colormap nxagentDefaultVisualColormap(Visual *visual)
return None; return None;
} }
#if 0
/* /*
* This is currently unused. It should serve the scope of matching a * This is currently unused. It should serve the scope of matching a
* visual whenever a drawable has a different depth than the real * visual whenever a drawable has a different depth than the real
...@@ -129,6 +130,7 @@ Visual *nxagentVisualFromDepth(ScreenPtr pScreen, int depth) ...@@ -129,6 +130,7 @@ Visual *nxagentVisualFromDepth(ScreenPtr pScreen, int depth)
return NULL; return NULL;
} }
#endif
/* /*
* Create a fake 32 bits depth visual and initialize it based on the * Create a fake 32 bits depth visual and initialize it based on the
......
...@@ -42,7 +42,10 @@ is" without express or implied warranty. ...@@ -42,7 +42,10 @@ is" without express or implied warranty.
Visual *nxagentVisual(VisualPtr pVisual); Visual *nxagentVisual(VisualPtr pVisual);
Visual *nxagentVisualFromID(ScreenPtr pScreen, VisualID visual); Visual *nxagentVisualFromID(ScreenPtr pScreen, VisualID visual);
#if 0
Visual *nxagentVisualFromDepth(ScreenPtr pScreen, int depth); Visual *nxagentVisualFromDepth(ScreenPtr pScreen, int depth);
#endif
Colormap nxagentDefaultVisualColormap(Visual *visual); Colormap nxagentDefaultVisualColormap(Visual *visual);
......
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