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
409c872c
Commit
409c872c
authored
Feb 11, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10core: Implement ID3D10Device1.
parent
2be432b4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
8 deletions
+7
-8
d3d10core_private.h
dlls/d3d10core/d3d10core_private.h
+3
-3
device.c
dlls/d3d10core/device.c
+0
-0
texture.c
dlls/d3d10core/texture.c
+3
-4
device.c
dlls/dxgi/tests/device.c
+1
-1
No files found.
dlls/d3d10core/d3d10core_private.h
View file @
409c872c
...
...
@@ -29,7 +29,7 @@
#include "winuser.h"
#include "objbase.h"
#include "d3d10.h"
#include "d3d10
_1
.h"
#ifdef D3D10CORE_INIT_GUID
#include "initguid.h"
#endif
...
...
@@ -285,11 +285,11 @@ struct d3d10_query
HRESULT
d3d10_query_init
(
struct
d3d10_query
*
query
,
BOOL
predicate
)
DECLSPEC_HIDDEN
;
/* IDirect3D10Device */
/* IDirect3D10Device
1
*/
struct
d3d10_device
{
IUnknown
IUnknown_inner
;
ID3D10Device
ID3D10Device
_iface
;
ID3D10Device
1
ID3D10Device1
_iface
;
IWineDXGIDeviceParent
IWineDXGIDeviceParent_iface
;
IUnknown
*
outer_unk
;
LONG
refcount
;
...
...
dlls/d3d10core/device.c
View file @
409c872c
This diff is collapsed.
Click to expand it.
dlls/d3d10core/texture.c
View file @
409c872c
...
...
@@ -240,11 +240,10 @@ HRESULT d3d10_texture2d_init(struct d3d10_texture2d *texture, struct d3d10_devic
{
IWineDXGIDevice
*
wine_device
;
hr
=
ID3D10Device_QueryInterface
(
&
device
->
ID3D10Device_iface
,
&
IID_IWineDXGIDevice
,
(
void
**
)
&
wine_device
);
if
(
FAILED
(
hr
))
if
(
FAILED
(
hr
=
ID3D10Device1_QueryInterface
(
&
device
->
ID3D10Device1_iface
,
&
IID_IWineDXGIDevice
,
(
void
**
)
&
wine_device
)))
{
ERR
(
"Device should implement IWineDXGIDevice
\n
"
);
ERR
(
"Device should implement IWineDXGIDevice
.
\n
"
);
return
E_FAIL
;
}
...
...
dlls/dxgi/tests/device.c
View file @
409c872c
...
...
@@ -77,7 +77,7 @@ static void test_device_interfaces(void)
if
(
SUCCEEDED
(
hr
=
IDXGIDevice_QueryInterface
(
device
,
&
IID_ID3D10Device1
,
(
void
**
)
&
iface
)))
IUnknown_Release
(
iface
);
todo_wine
ok
(
SUCCEEDED
(
hr
)
||
broken
(
hr
==
E_NOINTERFACE
)
/* Not available on all Windows versions. */
,
ok
(
SUCCEEDED
(
hr
)
||
broken
(
hr
==
E_NOINTERFACE
)
/* Not available on all Windows versions. */
,
"Failed to query ID3D10Device1 interface, hr %#x.
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
=
IDXGIDevice_QueryInterface
(
device
,
&
IID_ID3D11Device
,
(
void
**
)
&
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