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
1f73a97a
Commit
1f73a97a
authored
Dec 05, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Remove unneeded casts.
parent
f2df3d75
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ddraw.c
dlls/ddraw/ddraw.c
+1
-1
device.c
dlls/ddraw/device.c
+1
-1
No files found.
dlls/ddraw/ddraw.c
View file @
1f73a97a
...
...
@@ -1725,7 +1725,7 @@ ULONG WINAPI D3D7CB_DestroyDepthStencilSurface(IWineD3DSurface *pSurface) {
IUnknown
*
surfaceParent
;
TRACE
(
"(%p) call back
\n
"
,
pSurface
);
IWineD3DSurface_GetParent
(
pSurface
,
(
IUnknown
**
)
&
surfaceParent
);
IWineD3DSurface_GetParent
(
pSurface
,
&
surfaceParent
);
IUnknown_Release
(
surfaceParent
);
return
IUnknown_Release
(
surfaceParent
);
}
...
...
dlls/ddraw/device.c
View file @
1f73a97a
...
...
@@ -4179,7 +4179,7 @@ IDirect3DDeviceImpl_7_GetTexture(IDirect3DDevice7 *iface,
}
EnterCriticalSection
(
&
ddraw_cs
);
hr
=
IWineD3DDevice_GetTexture
(
This
->
wineD3DDevice
,
Stage
,
(
IWineD3DBaseTexture
**
)
&
Surf
);
hr
=
IWineD3DDevice_GetTexture
(
This
->
wineD3DDevice
,
Stage
,
&
Surf
);
if
(
(
hr
!=
D3D_OK
)
||
(
!
Surf
)
)
{
*
Texture
=
NULL
;
...
...
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