summaryrefslogtreecommitdiff
path: root/xserver
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-02-13 21:29:53 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-02-13 21:29:53 +0000
commit6f3d9c541096fa4bc9c24cb431186a52a21e6ba5 (patch)
tree9c2351a58b95a31b2e1764fa321139e1b1f8b922 /xserver
parent40d7da6cb947264360b2c8fa78235a67e9019ec4 (diff)
Remove a unused static function which references a function which had been
removed in the 1.4 update, it prevents wsfb from working on platforms without lazy binding.
Diffstat (limited to 'xserver')
-rw-r--r--xserver/hw/xfree86/xf4bpp/vgaStipple.c45
1 files changed, 0 insertions, 45 deletions
diff --git a/xserver/hw/xfree86/xf4bpp/vgaStipple.c b/xserver/hw/xfree86/xf4bpp/vgaStipple.c
index b81305bd4..8d9ea1344 100644
--- a/xserver/hw/xfree86/xf4bpp/vgaStipple.c
+++ b/xserver/hw/xfree86/xf4bpp/vgaStipple.c
@@ -20,7 +20,6 @@
* SOFTWARE.
*
*/
-/* $XConsortium: vgaStipple.c /main/5 1996/02/21 17:59:10 kaleb $ */
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
@@ -610,50 +609,6 @@ switch ( rasterOp ) {
return ( color & VGA_ALLPLANES ) | data_rotate_value | invert_existing_data ;
}
-static void
-vgaDrawMonoImage
-(
- WindowPtr pWin, /* GJA */
- unsigned char *data,
- int x,
- int y,
- int w,
- int h,
- unsigned long int fg,
- int alu,
- unsigned long int planes
-)
-{
-unsigned long regState ;
-
-if ( !xf86Screens[((DrawablePtr)pWin)->pScreen->myNum]->vtSema ) {
- xf4bppOffDrawMonoImage( pWin, data, x, y, w, h, fg, alu, planes );
- return;
-}
-
-if ( ( alu == GXnoop ) || !( planes &= VGA_ALLPLANES ) )
- return ;
-
-#ifndef PC98_EGC
-if ( ( regState = vgaCalcMonoMode( alu, fg ) ) & DO_RECURSE ) {
- vgaDrawMonoImage( pWin, data, x, y, w, h,
- VGA_ALLPLANES, GXinvert, planes ) ;
- regState &= ~DO_RECURSE ;
-}
-#else
-regState = vgaCalcMonoMode(alu, (char)fg);
-#endif
-
-
-vgaSetMonoRegisters( (DrawablePtr)pWin, planes, regState ) ;
-
-DoMonoSingle( pWin, w, x, y, (const unsigned char *) data, h,
- w, ( ( w + 31 ) & ~31 ) >> 3, h, 0, 0 ) ;
-
-
-return ;
-}
-
void
xf4bppFillStipple( pWin, pStipple, fg, alu, planes, x, y, w, h, xSrc, ySrc )
WindowPtr pWin; /* GJA */