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
4444917f
Commit
4444917f
authored
Sep 06, 2015
by
Józef Kucia
Committed by
Alexandre Julliard
Sep 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d11: Implement d3d10_buffer_GetDesc().
parent
378bec23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
buffer.c
dlls/d3d11/buffer.c
+10
-1
No files found.
dlls/d3d11/buffer.c
View file @
4444917f
...
...
@@ -322,7 +322,16 @@ static void STDMETHODCALLTYPE d3d10_buffer_Unmap(ID3D10Buffer *iface)
static
void
STDMETHODCALLTYPE
d3d10_buffer_GetDesc
(
ID3D10Buffer
*
iface
,
D3D10_BUFFER_DESC
*
desc
)
{
FIXME
(
"iface %p, desc %p stub!
\n
"
,
iface
,
desc
);
struct
d3d_buffer
*
buffer
=
impl_from_ID3D10Buffer
(
iface
);
const
D3D11_BUFFER_DESC
*
d3d11_desc
=
&
buffer
->
desc
;
TRACE
(
"iface %p, desc %p.
\n
"
,
iface
,
desc
);
desc
->
ByteWidth
=
d3d11_desc
->
ByteWidth
;
desc
->
Usage
=
d3d10_usage_from_d3d11_usage
(
d3d11_desc
->
Usage
);
desc
->
BindFlags
=
d3d10_bind_flags_from_d3d11_bind_flags
(
d3d11_desc
->
BindFlags
);
desc
->
CPUAccessFlags
=
d3d10_cpu_access_flags_from_d3d11_cpu_access_flags
(
d3d11_desc
->
CPUAccessFlags
);
desc
->
MiscFlags
=
d3d10_resource_misc_flags_from_d3d11_resource_misc_flags
(
d3d11_desc
->
MiscFlags
);
}
static
const
struct
ID3D10BufferVtbl
d3d10_buffer_vtbl
=
...
...
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