Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d2701051
Commit
d2701051
authored
Jan 07, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedos: VGA_SetQuadPalette() is unused so remove it.
parent
5f18947d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
vga.c
dlls/winedos/vga.c
+0
-15
vga.h
dlls/winedos/vga.h
+0
-1
No files found.
dlls/winedos/vga.c
View file @
d2701051
...
@@ -929,21 +929,6 @@ void VGA_Get16Palette(char *Table)
...
@@ -929,21 +929,6 @@ void VGA_Get16Palette(char *Table)
memcpy
(
vga_16_palette
,
Table
,
17
);
/* copy the entries into the table */
memcpy
(
vga_16_palette
,
Table
,
17
);
/* copy the entries into the table */
}
}
void
VGA_SetQuadPalette
(
RGBQUAD
*
color
,
int
start
,
int
len
)
{
PALETTEENTRY
pal
[
256
];
int
c
;
if
(
!
lpddraw
)
return
;
for
(
c
=
0
;
c
<
len
;
c
++
)
{
pal
[
c
].
peRed
=
color
[
c
].
rgbRed
;
pal
[
c
].
peGreen
=
color
[
c
].
rgbGreen
;
pal
[
c
].
peBlue
=
color
[
c
].
rgbBlue
;
pal
[
c
].
peFlags
=
0
;
}
IDirectDrawPalette_SetEntries
(
lpddpal
,
0
,
start
,
len
,
pal
);
}
static
LPSTR
VGA_Lock
(
unsigned
*
Pitch
,
unsigned
*
Height
,
unsigned
*
Width
,
unsigned
*
Depth
)
static
LPSTR
VGA_Lock
(
unsigned
*
Pitch
,
unsigned
*
Height
,
unsigned
*
Width
,
unsigned
*
Depth
)
{
{
if
(
!
lpddraw
)
return
NULL
;
if
(
!
lpddraw
)
return
NULL
;
...
...
dlls/winedos/vga.h
View file @
d2701051
...
@@ -35,7 +35,6 @@ void VGA_SetColor16(int reg,int color);
...
@@ -35,7 +35,6 @@ void VGA_SetColor16(int reg,int color);
char
VGA_GetColor16
(
int
reg
);
char
VGA_GetColor16
(
int
reg
);
void
VGA_Set16Palette
(
char
*
Table
);
void
VGA_Set16Palette
(
char
*
Table
);
void
VGA_Get16Palette
(
char
*
Table
);
void
VGA_Get16Palette
(
char
*
Table
);
void
VGA_SetQuadPalette
(
RGBQUAD
*
color
,
int
start
,
int
len
);
void
VGA_SetWindowStart
(
int
start
);
void
VGA_SetWindowStart
(
int
start
);
int
VGA_GetWindowStart
(
void
);
int
VGA_GetWindowStart
(
void
);
void
VGA_ShowMouse
(
BOOL
show
);
void
VGA_ShowMouse
(
BOOL
show
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment