diff options
author | marha <marha@users.sourceforge.net> | 2009-07-25 19:39:46 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-07-25 19:39:46 +0000 |
commit | 4a3dbb926ae3f5410198d7cc4f4ebe4f62eebf05 (patch) | |
tree | c1e02b9d3509aa97703aa4b540d4cd22ec4600ed /xorg-server/mi/micmap.c | |
parent | dc3c299dd0995549e2a6973ca0f25b254afd38a5 (diff) | |
download | vcxsrv-4a3dbb926ae3f5410198d7cc4f4ebe4f62eebf05.tar.gz vcxsrv-4a3dbb926ae3f5410198d7cc4f4ebe4f62eebf05.tar.bz2 vcxsrv-4a3dbb926ae3f5410198d7cc4f4ebe4f62eebf05.zip |
Added xorg-server-1.6.2.tar.gz
Diffstat (limited to 'xorg-server/mi/micmap.c')
-rw-r--r-- | xorg-server/mi/micmap.c | 32 |
1 files changed, 3 insertions, 29 deletions
diff --git a/xorg-server/mi/micmap.c b/xorg-server/mi/micmap.c index 33d948179..b92ddece5 100644 --- a/xorg-server/mi/micmap.c +++ b/xorg-server/mi/micmap.c @@ -48,12 +48,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. _X_EXPORT ColormapPtr miInstalledMaps[MAXSCREENS]; -static Bool miDoInitVisuals(VisualPtr *visualp, DepthPtr *depthp, int *nvisualp, - int *ndepthp, int *rootDepthp, VisualID *defaultVisp, - unsigned long sizes, int bitsPerRGB, int preferredVis); - -_X_EXPORT miInitVisualsProcPtr miInitVisualsProc = miDoInitVisuals; - _X_EXPORT int miListInstalledColormaps(ScreenPtr pScreen, Colormap *pmaps) { @@ -479,20 +473,6 @@ miSetPixmapDepths (void) return TRUE; } -_X_EXPORT Bool -miInitVisuals(VisualPtr *visualp, DepthPtr *depthp, int *nvisualp, - int *ndepthp, int *rootDepthp, VisualID *defaultVisp, - unsigned long sizes, int bitsPerRGB, int preferredVis) - -{ - if (miInitVisualsProc) - return miInitVisualsProc(visualp, depthp, nvisualp, ndepthp, - rootDepthp, defaultVisp, sizes, bitsPerRGB, - preferredVis); - else - return FALSE; -} - /* * Distance to least significant one bit */ @@ -517,10 +497,11 @@ maskShift (Pixel p) * the set which can be used with this version of cfb. */ -static Bool -miDoInitVisuals(VisualPtr *visualp, DepthPtr *depthp, int *nvisualp, +_X_EXPORT Bool +miInitVisuals(VisualPtr *visualp, DepthPtr *depthp, int *nvisualp, int *ndepthp, int *rootDepthp, VisualID *defaultVisp, unsigned long sizes, int bitsPerRGB, int preferredVis) + { int i, j = 0, k; VisualPtr visual; @@ -688,10 +669,3 @@ miDoInitVisuals(VisualPtr *visualp, DepthPtr *depthp, int *nvisualp, return TRUE; } - -void -miResetInitVisuals(void) -{ - miInitVisualsProc = miDoInitVisuals; -} - |