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
8c97327d
Commit
8c97327d
authored
Nov 12, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 12, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddrawex: Get rid of the IDirectDrawSurfaceImpl typedef.
parent
38b4364c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
ddraw.c
dlls/ddrawex/ddraw.c
+1
-1
ddrawex_private.h
dlls/ddrawex/ddrawex_private.h
+3
-7
surface.c
dlls/ddrawex/surface.c
+0
-0
No files found.
dlls/ddrawex/ddraw.c
View file @
8c97327d
...
@@ -478,7 +478,7 @@ static HRESULT WINAPI ddrawex4_DuplicateSurface(IDirectDraw4 *iface,
...
@@ -478,7 +478,7 @@ static HRESULT WINAPI ddrawex4_DuplicateSurface(IDirectDraw4 *iface,
IDirectDrawSurface4
*
src
,
IDirectDrawSurface4
**
dst
)
IDirectDrawSurface4
*
src
,
IDirectDrawSurface4
**
dst
)
{
{
struct
ddrawex
*
ddrawex
=
impl_from_IDirectDraw4
(
iface
);
struct
ddrawex
*
ddrawex
=
impl_from_IDirectDraw4
(
iface
);
IDirectDrawSurfaceImpl
*
src_impl
=
unsafe_impl_from_IDirectDrawSurface4
(
src
);
struct
ddrawex_surface
*
src_impl
=
unsafe_impl_from_IDirectDrawSurface4
(
src
);
TRACE
(
"iface %p, src %p, dst %p.
\n
"
,
iface
,
src
,
dst
);
TRACE
(
"iface %p, src %p, dst %p.
\n
"
,
iface
,
src
,
dst
);
FIXME
(
"Create a wrapper surface.
\n
"
);
FIXME
(
"Create a wrapper surface.
\n
"
);
...
...
dlls/ddrawex/ddrawex_private.h
View file @
8c97327d
...
@@ -66,10 +66,7 @@ struct ddrawex
...
@@ -66,10 +66,7 @@ struct ddrawex
IDirectDraw4
*
dd_get_outer
(
IDirectDraw4
*
inner
)
DECLSPEC_HIDDEN
;
IDirectDraw4
*
dd_get_outer
(
IDirectDraw4
*
inner
)
DECLSPEC_HIDDEN
;
IDirectDraw4
*
dd_get_inner
(
IDirectDraw4
*
outer
)
DECLSPEC_HIDDEN
;
IDirectDraw4
*
dd_get_inner
(
IDirectDraw4
*
outer
)
DECLSPEC_HIDDEN
;
/******************************************************************************
struct
ddrawex_surface
* IDirectDrawSurface implementation
******************************************************************************/
typedef
struct
{
{
IDirectDrawSurface3
IDirectDrawSurface3_iface
;
IDirectDrawSurface3
IDirectDrawSurface3_iface
;
IDirectDrawSurface4
IDirectDrawSurface4_iface
;
IDirectDrawSurface4
IDirectDrawSurface4_iface
;
...
@@ -83,10 +80,9 @@ typedef struct
...
@@ -83,10 +80,9 @@ typedef struct
/* An UUID we use to store the outer surface as private data in the inner surface */
/* An UUID we use to store the outer surface as private data in the inner surface */
#define IID_DDrawexPriv IID_IDirectDrawSurface4
#define IID_DDrawexPriv IID_IDirectDrawSurface4
};
}
IDirectDrawSurfaceImpl
;
struct
ddrawex_surface
*
unsafe_impl_from_IDirectDrawSurface4
(
IDirectDrawSurface4
*
iface
)
DECLSPEC_HIDDEN
;
IDirectDrawSurfaceImpl
*
unsafe_impl_from_IDirectDrawSurface4
(
IDirectDrawSurface4
*
iface
)
DECLSPEC_HIDDEN
;
IDirectDrawSurface4
*
dds_get_outer
(
IDirectDrawSurface4
*
inner
)
DECLSPEC_HIDDEN
;
IDirectDrawSurface4
*
dds_get_outer
(
IDirectDrawSurface4
*
inner
)
DECLSPEC_HIDDEN
;
HRESULT
prepare_permanent_dc
(
IDirectDrawSurface4
*
iface
)
DECLSPEC_HIDDEN
;
HRESULT
prepare_permanent_dc
(
IDirectDrawSurface4
*
iface
)
DECLSPEC_HIDDEN
;
...
...
dlls/ddrawex/surface.c
View file @
8c97327d
This diff is collapsed.
Click to expand it.
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