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
ce35cc03
Commit
ce35cc03
authored
Oct 10, 2002
by
Christian Costa
Committed by
Alexandre Julliard
Oct 10, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Main_DirectDrawSurface_QueryInterface: enable creation of a
IDirect3DTexture2 from a surface.
parent
528d2c4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
main.c
dlls/ddraw/dsurface/main.c
+12
-1
No files found.
dlls/ddraw/dsurface/main.c
View file @
ce35cc03
...
...
@@ -165,7 +165,7 @@ Main_DirectDrawSurface_QueryInterface(LPDIRECTDRAWSURFACE7 iface, REFIID riid,
This
->
ref
++
;
return
is_OpenGL_dx3
(
riid
,
This
,
(
IDirect3DDeviceImpl
**
)
ppObj
)
?
S_OK
:
E_NOINTERFACE
;
}
else
if
(
IsEqualGUID
(
&
IID_IDirect3DTexture
,
riid
)
)
else
if
(
IsEqualGUID
(
&
IID_IDirect3DTexture
,
riid
))
{
LPDIRECT3DTEXTURE
iface
;
This
->
ref
++
;
...
...
@@ -176,6 +176,17 @@ Main_DirectDrawSurface_QueryInterface(LPDIRECTDRAWSURFACE7 iface, REFIID riid,
}
else
return
E_NOINTERFACE
;
}
else
if
(
IsEqualGUID
(
&
IID_IDirect3DTexture2
,
riid
))
{
LPDIRECT3DTEXTURE2
iface
;
This
->
ref
++
;
iface
=
d3dtexture2_create
(
This
);
if
(
iface
)
{
*
ppObj
=
(
LPVOID
)
iface
;
return
S_OK
;
}
else
return
E_NOINTERFACE
;
}
#endif
else
return
E_NOINTERFACE
;
...
...
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