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
f452057e
Commit
f452057e
authored
Aug 17, 2012
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Aug 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddrawex: Get rid of dds_get_inner().
parent
cb1248da
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
9 deletions
+3
-9
ddraw.c
dlls/ddrawex/ddraw.c
+3
-1
ddrawex_private.h
dlls/ddrawex/ddrawex_private.h
+0
-1
surface.c
dlls/ddrawex/surface.c
+0
-7
No files found.
dlls/ddrawex/ddraw.c
View file @
f452057e
...
...
@@ -459,9 +459,11 @@ static HRESULT WINAPI IDirectDraw4Impl_DuplicateSurface(IDirectDraw4 *iface,
IDirectDrawSurface4
*
src
,
IDirectDrawSurface4
**
dst
)
{
IDirectDrawImpl
*
This
=
impl_from_IDirectDraw4
(
iface
);
IDirectDrawSurfaceImpl
*
surf
=
unsafe_impl_from_IDirectDrawSurface4
(
src
);
FIXME
(
"(%p)->(%p,%p). Create a wrapper surface
\n
"
,
This
,
src
,
dst
);
return
IDirectDraw4_DuplicateSurface
(
This
->
parent
,
dds_get_inner
(
src
)
,
dst
);
return
IDirectDraw4_DuplicateSurface
(
This
->
parent
,
surf
?
surf
->
parent
:
NULL
,
dst
);
}
static
HRESULT
WINAPI
IDirectDraw3Impl_DuplicateSurface
(
IDirectDraw3
*
iface
,
...
...
dlls/ddrawex/ddrawex_private.h
View file @
f452057e
...
...
@@ -91,7 +91,6 @@ typedef struct
IDirectDrawSurfaceImpl
*
unsafe_impl_from_IDirectDrawSurface4
(
IDirectDrawSurface4
*
iface
)
DECLSPEC_HIDDEN
;
IDirectDrawSurface4
*
dds_get_outer
(
IDirectDrawSurface4
*
inner
)
DECLSPEC_HIDDEN
;
IDirectDrawSurface4
*
dds_get_inner
(
IDirectDrawSurface4
*
outer
)
DECLSPEC_HIDDEN
;
HRESULT
prepare_permanent_dc
(
IDirectDrawSurface4
*
iface
)
DECLSPEC_HIDDEN
;
#endif
/* __WINE_DLLS_DDRAWEX_DDRAWEX_PRIVATE_H */
dlls/ddrawex/surface.c
View file @
f452057e
...
...
@@ -1220,13 +1220,6 @@ IDirectDrawSurface4 *dds_get_outer(IDirectDrawSurface4 *inner)
return
outer
;
}
IDirectDrawSurface4
*
dds_get_inner
(
IDirectDrawSurface4
*
outer
)
{
IDirectDrawSurfaceImpl
*
This
=
impl_from_dds4
(
outer
);
if
(
This
==
NULL
)
return
NULL
;
return
This
->
parent
;
}
HRESULT
prepare_permanent_dc
(
IDirectDrawSurface4
*
iface
)
{
IDirectDrawSurfaceImpl
*
This
=
unsafe_impl_from_IDirectDrawSurface4
(
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