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
63ba55b0
Commit
63ba55b0
authored
Jan 29, 2002
by
Guy Albertelli
Committed by
Alexandre Julliard
Jan 29, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't fill colormap beyond end of screen depth.
parent
2b74e91d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dib.c
graphics/x11drv/dib.c
+4
-0
No files found.
graphics/x11drv/dib.c
View file @
63ba55b0
...
@@ -137,6 +137,10 @@ int *X11DRV_DIB_GenColorMap( DC *dc, int *colorMapping,
...
@@ -137,6 +137,10 @@ int *X11DRV_DIB_GenColorMap( DC *dc, int *colorMapping,
if
(
coloruse
==
DIB_RGB_COLORS
)
if
(
coloruse
==
DIB_RGB_COLORS
)
{
{
int
max
=
1
<<
depth
;
if
(
end
>
max
)
end
=
max
;
if
(
quads
)
if
(
quads
)
{
{
RGBQUAD
*
rgb
=
(
RGBQUAD
*
)
colorPtr
;
RGBQUAD
*
rgb
=
(
RGBQUAD
*
)
colorPtr
;
...
...
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