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
895e4a1f
Commit
895e4a1f
authored
Aug 24, 2015
by
Aaryaman Vasishta
Committed by
Alexandre Julliard
Aug 25, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Thunk IDirect3DRMTexture2::QueryInterface to version 3.
parent
ed411d97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
19 deletions
+1
-19
texture.c
dlls/d3drm/texture.c
+1
-19
No files found.
dlls/d3drm/texture.c
View file @
895e4a1f
...
...
@@ -53,25 +53,7 @@ static HRESULT WINAPI d3drm_texture2_QueryInterface(IDirect3DRMTexture2 *iface,
TRACE
(
"iface %p, riid %s, out %p.
\n
"
,
iface
,
debugstr_guid
(
riid
),
out
);
if
(
IsEqualGUID
(
riid
,
&
IID_IDirect3DRMTexture2
)
||
IsEqualGUID
(
riid
,
&
IID_IDirect3DRMTexture
)
||
IsEqualGUID
(
riid
,
&
IID_IUnknown
))
{
*
out
=
&
texture
->
IDirect3DRMTexture2_iface
;
}
else
if
(
IsEqualGUID
(
riid
,
&
IID_IDirect3DRMTexture3
))
{
*
out
=
&
texture
->
IDirect3DRMTexture3_iface
;
}
else
{
*
out
=
NULL
;
WARN
(
"%s not implemented, returning E_NOINTERFACE.
\n
"
,
debugstr_guid
(
riid
));
return
E_NOINTERFACE
;
}
IUnknown_AddRef
((
IUnknown
*
)
*
out
);
return
S_OK
;
return
IDirect3DRMTexture3_QueryInterface
(
&
texture
->
IDirect3DRMTexture3_iface
,
riid
,
out
);
}
static
ULONG
WINAPI
d3drm_texture2_AddRef
(
IDirect3DRMTexture2
*
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