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
818051c5
Commit
818051c5
authored
Sep 09, 2015
by
Józef Kucia
Committed by
Alexandre Julliard
Sep 09, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d11: Implement d3d11_rendertarget_view_GetDesc().
parent
99bb367d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
46 deletions
+51
-46
d3d11_private.h
dlls/d3d11/d3d11_private.h
+2
-2
device.c
dlls/d3d11/device.c
+2
-1
view.c
dlls/d3d11/view.c
+47
-43
No files found.
dlls/d3d11/d3d11_private.h
View file @
818051c5
...
...
@@ -179,13 +179,13 @@ struct d3d_rendertarget_view
struct
wined3d_private_store
private_store
;
struct
wined3d_rendertarget_view
*
wined3d_view
;
D3D1
0
_RENDER_TARGET_VIEW_DESC
desc
;
D3D1
1
_RENDER_TARGET_VIEW_DESC
desc
;
ID3D11Resource
*
resource
;
ID3D10Device1
*
device
;
};
HRESULT
d3d_rendertarget_view_init
(
struct
d3d_rendertarget_view
*
view
,
struct
d3d_device
*
device
,
ID3D11Resource
*
resource
,
const
D3D1
0
_RENDER_TARGET_VIEW_DESC
*
desc
)
DECLSPEC_HIDDEN
;
ID3D11Resource
*
resource
,
const
D3D1
1
_RENDER_TARGET_VIEW_DESC
*
desc
)
DECLSPEC_HIDDEN
;
struct
d3d_rendertarget_view
*
unsafe_impl_from_ID3D10RenderTargetView
(
ID3D10RenderTargetView
*
iface
)
DECLSPEC_HIDDEN
;
/* ID3D10ShaderResourceView */
...
...
dlls/d3d11/device.c
View file @
818051c5
...
...
@@ -2138,7 +2138,8 @@ static HRESULT STDMETHODCALLTYPE d3d10_device_CreateRenderTargetView(ID3D10Devic
return
E_FAIL
;
}
if
(
FAILED
(
hr
=
d3d_rendertarget_view_init
(
object
,
device
,
d3d11_resource
,
desc
)))
if
(
FAILED
(
hr
=
d3d_rendertarget_view_init
(
object
,
device
,
d3d11_resource
,
(
const
D3D11_RENDER_TARGET_VIEW_DESC
*
)
desc
)))
{
WARN
(
"Failed to initialize rendertarget view, hr %#x.
\n
"
,
hr
);
HeapFree
(
GetProcessHeap
(),
0
,
object
);
...
...
dlls/d3d11/view.c
View file @
818051c5
This diff is collapsed.
Click to expand it.
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