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
0183cd17
Commit
0183cd17
authored
Jun 21, 2016
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amstream: Use SetRect() instead of open coding it.
Signed-off-by:
Michael Stefaniuc
<
mstefani@redhat.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
09337707
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
mediastream.c
dlls/amstream/mediastream.c
+1
-5
No files found.
dlls/amstream/mediastream.c
View file @
0183cd17
...
...
@@ -1046,11 +1046,7 @@ static HRESULT ddrawstreamsample_create(IDirectDrawMediaStream *parent, IDirectD
DDSURFACEDESC
desc
=
{
sizeof
(
desc
)
};
hr
=
IDirectDrawSurface_GetSurfaceDesc
(
object
->
surface
,
&
desc
);
if
(
hr
==
S_OK
)
{
object
->
rect
.
left
=
object
->
rect
.
top
=
0
;
object
->
rect
.
right
=
desc
.
dwWidth
;
object
->
rect
.
bottom
=
desc
.
dwHeight
;
}
SetRect
(
&
object
->
rect
,
0
,
0
,
desc
.
dwWidth
,
desc
.
dwHeight
);
}
*
ddraw_stream_sample
=
&
object
->
IDirectDrawStreamSample_iface
;
...
...
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