diff --git a/hw/xfree86/common/xf86Helper.c b/hw/xfree86/common/xf86Helper.c index b3db95ae4..4ca485e03 100644 --- a/hw/xfree86/common/xf86Helper.c +++ b/hw/xfree86/common/xf86Helper.c @@ -1372,12 +1372,6 @@ xf86GetGamma(void) return xf86Gamma; } -Bool -xf86GetFlipPixels(void) -{ - return xf86FlipPixels; -} - Bool xf86ServerIsExiting(void) { diff --git a/hw/xfree86/common/xf86_priv.h b/hw/xfree86/common/xf86_priv.h index d6d83b1e6..337840033 100644 --- a/hw/xfree86/common/xf86_priv.h +++ b/hw/xfree86/common/xf86_priv.h @@ -27,6 +27,5 @@ void xf86EnableInputDeviceForVTSwitch(InputInfoPtr pInfo); /* xf86Helper.c */ void xf86DeleteDriver(int drvIndex); void xf86DeleteScreen(ScrnInfoPtr pScrn); -Bool xf86GetFlipPixels(void); #endif /* _XSERVER_XF86_PRIV_H */ diff --git a/hw/xfree86/doc/ddxDesign.xml b/hw/xfree86/doc/ddxDesign.xml index 86f01140f..08009ad11 100644 --- a/hw/xfree86/doc/ddxDesign.xml +++ b/hw/xfree86/doc/ddxDesign.xml @@ -1872,17 +1872,6 @@ functions: -
- - Bool xf86GetFlipPixels(); - -
- Returns TRUE if is - present on the command line, and FALSE otherwise. -
- -
- diff --git a/hw/xfree86/vgahw/vgaHW.c b/hw/xfree86/vgahw/vgaHW.c index c897388f8..886d3c76c 100644 --- a/hw/xfree86/vgahw/vgaHW.c +++ b/hw/xfree86/vgahw/vgaHW.c @@ -24,6 +24,7 @@ #include "xf86.h" #include "xf86_OSproc.h" #include "xf86Opt_priv.h" +#include "xf86Priv.h" #include "vgaHW.h" #include "compiler.h" @@ -1302,10 +1303,8 @@ vgaHWInit(ScrnInfoPtr scrninfp, DisplayModePtr mode) if (depth == 1) { /* Initialise the Mono map according to which bit-plane gets used */ - Bool flipPixels = xf86GetFlipPixels(); - for (i = 0; i < 16; i++) - if (((i & (1 << BIT_PLANE)) != 0) != flipPixels) + if (((i & (1 << BIT_PLANE)) != 0) != xf86FlipPixels) regp->Attribute[i] = WHITE_VALUE; else regp->Attribute[i] = BLACK_VALUE;