xfree86: xf86.h: drop xf86GetFlipPixels()
Not used externally, and not actually necessary - we can use the xf86FlipPixels field directly. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
921298139b
commit
b7d4f00545
|
@ -245,8 +245,6 @@ xf86GetVerbosity(void);
|
||||||
extern _X_EXPORT Gamma
|
extern _X_EXPORT Gamma
|
||||||
xf86GetGamma(void);
|
xf86GetGamma(void);
|
||||||
extern _X_EXPORT Bool
|
extern _X_EXPORT Bool
|
||||||
xf86GetFlipPixels(void);
|
|
||||||
extern _X_EXPORT Bool
|
|
||||||
xf86ServerIsExiting(void);
|
xf86ServerIsExiting(void);
|
||||||
extern _X_EXPORT Bool
|
extern _X_EXPORT Bool
|
||||||
xf86ServerIsOnlyDetecting(void);
|
xf86ServerIsOnlyDetecting(void);
|
||||||
|
|
|
@ -1371,12 +1371,6 @@ xf86GetGamma(void)
|
||||||
return xf86Gamma;
|
return xf86Gamma;
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool
|
|
||||||
xf86GetFlipPixels(void)
|
|
||||||
{
|
|
||||||
return xf86FlipPixels;
|
|
||||||
}
|
|
||||||
|
|
||||||
Bool
|
Bool
|
||||||
xf86ServerIsExiting(void)
|
xf86ServerIsExiting(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1872,17 +1872,6 @@ functions:
|
||||||
|
|
||||||
</para></blockquote>
|
</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>
|
||||||
|
|
||||||
<sect2>
|
<sect2>
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
#include "xf86.h"
|
#include "xf86.h"
|
||||||
#include "xf86_OSproc.h"
|
#include "xf86_OSproc.h"
|
||||||
#include "xf86Opt_priv.h"
|
#include "xf86Opt_priv.h"
|
||||||
|
#include "xf86Priv.h"
|
||||||
#include "vgaHW.h"
|
#include "vgaHW.h"
|
||||||
|
|
||||||
#include "compiler.h"
|
#include "compiler.h"
|
||||||
|
@ -1302,10 +1303,8 @@ vgaHWInit(ScrnInfoPtr scrninfp, DisplayModePtr mode)
|
||||||
if (depth == 1) {
|
if (depth == 1) {
|
||||||
/* Initialise the Mono map according to which bit-plane gets used */
|
/* Initialise the Mono map according to which bit-plane gets used */
|
||||||
|
|
||||||
Bool flipPixels = xf86GetFlipPixels();
|
|
||||||
|
|
||||||
for (i = 0; i < 16; i++)
|
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;
|
regp->Attribute[i] = WHITE_VALUE;
|
||||||
else
|
else
|
||||||
regp->Attribute[i] = BLACK_VALUE;
|
regp->Attribute[i] = BLACK_VALUE;
|
||||||
|
|
Loading…
Reference in New Issue