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
860c0eb2
Commit
860c0eb2
authored
Nov 20, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10core: Implement d3d10_device_IAGetVertexBuffers().
parent
d0d213f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletion
+24
-1
device.c
dlls/d3d10core/device.c
+24
-1
No files found.
dlls/d3d10core/device.c
View file @
860c0eb2
...
...
@@ -527,8 +527,31 @@ static void STDMETHODCALLTYPE d3d10_device_IAGetInputLayout(ID3D10Device *iface,
static
void
STDMETHODCALLTYPE
d3d10_device_IAGetVertexBuffers
(
ID3D10Device
*
iface
,
UINT
start_slot
,
UINT
buffer_count
,
ID3D10Buffer
**
buffers
,
UINT
*
strides
,
UINT
*
offsets
)
{
FIXME
(
"iface %p, start_slot %u, buffer_count %u, buffers %p, strides %p, offsets %p stub!
\n
"
,
struct
d3d10_device
*
device
=
impl_from_ID3D10Device
(
iface
);
unsigned
int
i
;
TRACE
(
"iface %p, start_slot %u, buffer_count %u, buffers %p, strides %p, offsets %p.
\n
"
,
iface
,
start_slot
,
buffer_count
,
buffers
,
strides
,
offsets
);
for
(
i
=
0
;
i
<
buffer_count
;
++
i
)
{
struct
wined3d_buffer
*
wined3d_buffer
;
struct
d3d10_buffer
*
buffer_impl
;
if
(
FAILED
(
wined3d_device_get_stream_source
(
device
->
wined3d_device
,
start_slot
+
i
,
&
wined3d_buffer
,
&
offsets
[
i
],
&
strides
[
i
])))
ERR
(
"Failed to get vertex buffer.
\n
"
);
if
(
!
wined3d_buffer
)
{
buffers
[
i
]
=
NULL
;
continue
;
}
buffer_impl
=
wined3d_buffer_get_parent
(
wined3d_buffer
);
buffers
[
i
]
=
&
buffer_impl
->
ID3D10Buffer_iface
;
ID3D10Buffer_AddRef
(
buffers
[
i
]);
}
}
static
void
STDMETHODCALLTYPE
d3d10_device_IAGetIndexBuffer
(
ID3D10Device
*
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