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
64767de2
Commit
64767de2
authored
Apr 13, 2016
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 14, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use the texture dimensions in swapchain_gdi_frontbuffer_updated().
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d7e05190
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
swapchain.c
dlls/wined3d/swapchain.c
+2
-2
No files found.
dlls/wined3d/swapchain.c
View file @
64767de2
...
...
@@ -682,9 +682,9 @@ static void swapchain_gdi_frontbuffer_updated(struct wined3d_swapchain *swapchai
TRACE
(
"offset %s.
\n
"
,
wine_dbgstr_point
(
&
offset
));
draw_rect
.
left
=
0
;
draw_rect
.
right
=
front
->
resource
.
width
;
draw_rect
.
right
=
swapchain
->
front_buffer
->
resource
.
width
;
draw_rect
.
top
=
0
;
draw_rect
.
bottom
=
front
->
resource
.
height
;
draw_rect
.
bottom
=
swapchain
->
front_buffer
->
resource
.
height
;
IntersectRect
(
&
draw_rect
,
&
draw_rect
,
&
swapchain
->
front_buffer_update
);
BitBlt
(
dst_dc
,
draw_rect
.
left
-
offset
.
x
,
draw_rect
.
top
-
offset
.
y
,
...
...
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