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
eeacb8f2
Commit
eeacb8f2
authored
Jul 11, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 11, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10core: COM cleanup for the ID3D10Device iface.
parent
076e1cf0
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
d3d10core_private.h
dlls/d3d10core/d3d10core_private.h
+1
-1
device.c
dlls/d3d10core/device.c
+0
-0
texture.c
dlls/d3d10core/texture.c
+2
-1
No files found.
dlls/d3d10core/d3d10core_private.h
View file @
eeacb8f2
...
@@ -69,7 +69,7 @@ HRESULT parse_dxbc(const char *data, SIZE_T data_size,
...
@@ -69,7 +69,7 @@ HRESULT parse_dxbc(const char *data, SIZE_T data_size,
/* IDirect3D10Device */
/* IDirect3D10Device */
struct
d3d10_device
struct
d3d10_device
{
{
const
struct
ID3D10DeviceVtbl
*
vtbl
;
ID3D10Device
ID3D10Device_iface
;
const
struct
IUnknownVtbl
*
inner_unknown_vtbl
;
const
struct
IUnknownVtbl
*
inner_unknown_vtbl
;
IWineDXGIDeviceParent
IWineDXGIDeviceParent_iface
;
IWineDXGIDeviceParent
IWineDXGIDeviceParent_iface
;
IUnknown
*
outer_unknown
;
IUnknown
*
outer_unknown
;
...
...
dlls/d3d10core/device.c
View file @
eeacb8f2
This diff is collapsed.
Click to expand it.
dlls/d3d10core/texture.c
View file @
eeacb8f2
...
@@ -217,7 +217,8 @@ HRESULT d3d10_texture2d_init(struct d3d10_texture2d *texture, struct d3d10_devic
...
@@ -217,7 +217,8 @@ HRESULT d3d10_texture2d_init(struct d3d10_texture2d *texture, struct d3d10_devic
{
{
IWineDXGIDevice
*
wine_device
;
IWineDXGIDevice
*
wine_device
;
hr
=
ID3D10Device_QueryInterface
((
ID3D10Device
*
)
device
,
&
IID_IWineDXGIDevice
,
(
void
**
)
&
wine_device
);
hr
=
ID3D10Device_QueryInterface
(
&
device
->
ID3D10Device_iface
,
&
IID_IWineDXGIDevice
,
(
void
**
)
&
wine_device
);
if
(
FAILED
(
hr
))
if
(
FAILED
(
hr
))
{
{
ERR
(
"Device should implement IWineDXGIDevice
\n
"
);
ERR
(
"Device should implement IWineDXGIDevice
\n
"
);
...
...
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