winedos: VGA_SetTextAttribute() is unused so remove it.
Francois Gouget
fgouget at free.fr
Wed Jan 7 05:32:59 CST 2009
---
VGA_SetTextAttribute() has been made obsolete in 2002 by this patch:
commit 5d3b7e64ece52a8dd1f4cf71320ea387269f3b89
Author: Jukka Heinonen <jhei at iki.fi>
Date: Sun Nov 24 22:15:56 2002 +0000
VGA text mode no longer flickers and it is much faster.
VGA text mode is now initialized earlier.
VGA text mode is now emulated even without console.
dlls/winedos/vga.c | 5 -----
dlls/winedos/vga.h | 1 -
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/dlls/winedos/vga.c b/dlls/winedos/vga.c
index 12062de..f4cf276 100644
--- a/dlls/winedos/vga.c
+++ b/dlls/winedos/vga.c
@@ -1357,11 +1357,6 @@ void VGA_PutChar(BYTE ascii)
LeaveCriticalSection(&vga_lock);
}
-void VGA_SetTextAttribute(BYTE attr)
-{
- vga_text_attr = attr;
-}
-
void VGA_ClearText(unsigned row1, unsigned col1,
unsigned row2, unsigned col2,
BYTE attr)
diff --git a/dlls/winedos/vga.h b/dlls/winedos/vga.h
index 10f5c49..cee6d49 100644
--- a/dlls/winedos/vga.h
+++ b/dlls/winedos/vga.h
@@ -53,7 +53,6 @@ void VGA_SetCursorPos(unsigned X,unsigned Y);
void VGA_GetCursorPos(unsigned*X,unsigned*Y);
void VGA_WriteChars(unsigned X,unsigned Y,unsigned ch,int attr,int count);
void VGA_PutChar(BYTE ascii);
-void VGA_SetTextAttribute(BYTE attr);
void VGA_ClearText(unsigned row1, unsigned col1,
unsigned row2, unsigned col2,
BYTE attr);
--
1.5.6.5
More information about the wine-patches
mailing list