Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
52034b00
Commit
52034b00
authored
Aug 07, 2000
by
Uwe Bonnes
Committed by
Alexandre Julliard
Aug 07, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X11DRV_DIB_SetImageBits_RLE8: break image lines.
parent
e5141039
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
dib.c
graphics/x11drv/dib.c
+13
-1
No files found.
graphics/x11drv/dib.c
View file @
52034b00
...
...
@@ -1254,7 +1254,14 @@ static void X11DRV_DIB_SetImageBits_RLE8( int lines, const BYTE *bits,
color
=
colors
[
color_index
];
while
(
length
--
)
XPutPixel
(
bmpImage
,
x
++
,
line
,
color
);
{
if
(
x
>=
dstwidth
)
{
x
=
0
;
line
--
;
}
XPutPixel
(
bmpImage
,
x
++
,
line
,
color
);
}
}
else
{
...
...
@@ -1317,6 +1324,11 @@ static void X11DRV_DIB_SetImageBits_RLE8( int lines, const BYTE *bits,
while
(
length
--
)
{
color_index
=
(
*
pIn
++
);
if
(
x
>=
dstwidth
)
{
x
=
0
;
line
--
;
}
XPutPixel
(
bmpImage
,
x
++
,
line
,
colors
[
color_index
]);
}
...
...
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