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
5de02034
Commit
5de02034
authored
Sep 13, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Get rid of the unused "initialized" field in IDirectDrawImpl.
parent
8173e6f5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
13 deletions
+1
-13
ddraw.c
dlls/ddraw/ddraw.c
+1
-10
ddraw_private.h
dlls/ddraw/ddraw_private.h
+0
-3
No files found.
dlls/ddraw/ddraw.c
View file @
5de02034
...
@@ -1674,18 +1674,9 @@ static HRESULT WINAPI ddraw2_GetAvailableVidMem(IDirectDraw2 *iface,
...
@@ -1674,18 +1674,9 @@ static HRESULT WINAPI ddraw2_GetAvailableVidMem(IDirectDraw2 *iface,
*****************************************************************************/
*****************************************************************************/
static
HRESULT
WINAPI
ddraw7_Initialize
(
IDirectDraw7
*
iface
,
GUID
*
Guid
)
static
HRESULT
WINAPI
ddraw7_Initialize
(
IDirectDraw7
*
iface
,
GUID
*
Guid
)
{
{
IDirectDrawImpl
*
This
=
impl_from_IDirectDraw7
(
iface
);
FIXME
(
"iface %p, guid %s stub!
\n
"
,
iface
,
debugstr_guid
(
Guid
));
TRACE
(
"iface %p, guid %s.
\n
"
,
iface
,
debugstr_guid
(
Guid
));
if
(
This
->
initialized
)
{
return
DDERR_ALREADYINITIALIZED
;
return
DDERR_ALREADYINITIALIZED
;
}
else
{
return
DD_OK
;
}
}
}
static
HRESULT
WINAPI
ddraw4_Initialize
(
IDirectDraw4
*
iface
,
GUID
*
guid
)
static
HRESULT
WINAPI
ddraw4_Initialize
(
IDirectDraw4
*
iface
,
GUID
*
guid
)
...
...
dlls/ddraw/ddraw_private.h
View file @
5de02034
...
@@ -88,9 +88,6 @@ struct IDirectDrawImpl
...
@@ -88,9 +88,6 @@ struct IDirectDrawImpl
struct
wined3d_device
*
wined3d_device
;
struct
wined3d_device
*
wined3d_device
;
BOOL
d3d_initialized
;
BOOL
d3d_initialized
;
/* Misc ddraw fields */
BOOL
initialized
;
/* DirectDraw things, which are not handled by WineD3D */
/* DirectDraw things, which are not handled by WineD3D */
DWORD
cooperative_level
;
DWORD
cooperative_level
;
...
...
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