drop xf86GetFlipPixels
This commit is contained in:
parent
cc1384abb1
commit
f00660cbf5
|
@ -1372,12 +1372,6 @@ xf86GetGamma(void)
|
|||
return xf86Gamma;
|
||||
}
|
||||
|
||||
Bool
|
||||
xf86GetFlipPixels(void)
|
||||
{
|
||||
return xf86FlipPixels;
|
||||
}
|
||||
|
||||
Bool
|
||||
xf86ServerIsExiting(void)
|
||||
{
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -1872,17 +1872,6 @@ functions:
|
|||
|
||||
</para></blockquote>
|
||||
|
||||
<blockquote><para>
|
||||
<programlisting>
|
||||
Bool xf86GetFlipPixels();
|
||||
</programlisting>
|
||||
<blockquote><para>
|
||||
Returns <constant>TRUE</constant> if <option>-flippixels</option> is
|
||||
present on the command line, and <constant>FALSE</constant> otherwise.
|
||||
</para></blockquote>
|
||||
|
||||
</para></blockquote>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue