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
8c2374ab
Commit
8c2374ab
authored
Feb 13, 2017
by
Huw Davies
Committed by
Alexandre Julliard
Feb 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Update biSizeImage when uncompressing the RLE bitmap.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a3e09aa4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dib.c
dlls/gdi32/dib.c
+2
-1
No files found.
dlls/gdi32/dib.c
View file @
8c2374ab
...
@@ -316,7 +316,7 @@ static void *get_pixel_ptr( const BITMAPINFO *info, void *bits, int x, int y )
...
@@ -316,7 +316,7 @@ static void *get_pixel_ptr( const BITMAPINFO *info, void *bits, int x, int y )
return
(
char
*
)
bits
+
y
*
get_dib_stride
(
width
,
bpp
)
+
x
*
bpp
/
8
;
return
(
char
*
)
bits
+
y
*
get_dib_stride
(
width
,
bpp
)
+
x
*
bpp
/
8
;
}
}
static
BOOL
build_rle_bitmap
(
const
BITMAPINFO
*
info
,
struct
gdi_image_bits
*
bits
,
HRGN
*
clip
)
static
BOOL
build_rle_bitmap
(
BITMAPINFO
*
info
,
struct
gdi_image_bits
*
bits
,
HRGN
*
clip
)
{
{
DWORD
i
=
0
;
DWORD
i
=
0
;
int
left
,
right
;
int
left
,
right
;
...
@@ -449,6 +449,7 @@ done:
...
@@ -449,6 +449,7 @@ done:
bits
->
ptr
=
out_bits
;
bits
->
ptr
=
out_bits
;
bits
->
is_copy
=
TRUE
;
bits
->
is_copy
=
TRUE
;
bits
->
free
=
free_heap_bits
;
bits
->
free
=
free_heap_bits
;
info
->
bmiHeader
.
biSizeImage
=
get_dib_image_size
(
info
);
return
TRUE
;
return
TRUE
;
...
...
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