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
55bc2193
Commit
55bc2193
authored
Jul 15, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Don't access the source rectangle in PutImage until needed.
parent
a64a549b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
bitblt.c
dlls/winex11.drv/bitblt.c
+3
-2
No files found.
dlls/winex11.drv/bitblt.c
View file @
55bc2193
...
...
@@ -1802,8 +1802,6 @@ DWORD X11DRV_PutImage( PHYSDEV dev, HBITMAP hbitmap, BITMAPINFO *info, const str
struct
gdi_image_bits
dst_bits
;
const
XPixmapFormatValues
*
format
;
const
ColorShifts
*
color_shifts
;
int
width
=
rect
->
right
-
rect
->
left
;
int
height
=
rect
->
bottom
-
rect
->
top
;
if
(
hbitmap
)
{
...
...
@@ -1866,6 +1864,9 @@ DWORD X11DRV_PutImage( PHYSDEV dev, HBITMAP hbitmap, BITMAPINFO *info, const str
if
(
!
ret
)
{
int
width
=
rect
->
right
-
rect
->
left
;
int
height
=
rect
->
bottom
-
rect
->
top
;
image
->
data
=
dst_bits
.
ptr
;
if
(
bitmap
)
{
...
...
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