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
48f66efb
Commit
48f66efb
authored
Aug 20, 2009
by
Rico Schüller
Committed by
Alexandre Julliard
Aug 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Implement GetConstantBufferByIndex.
parent
2381c0e5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
effect.c
dlls/d3d10/effect.c
+14
-1
No files found.
dlls/d3d10/effect.c
View file @
48f66efb
...
...
@@ -831,9 +831,22 @@ static HRESULT STDMETHODCALLTYPE d3d10_effect_GetDesc(ID3D10Effect *iface, D3D10
static
struct
ID3D10EffectConstantBuffer
*
STDMETHODCALLTYPE
d3d10_effect_GetConstantBufferByIndex
(
ID3D10Effect
*
iface
,
UINT
index
)
{
FIXME
(
"iface %p, index %u stub!
\n
"
,
iface
,
index
);
struct
d3d10_effect
*
This
=
(
struct
d3d10_effect
*
)
iface
;
struct
d3d10_effect_local_buffer
*
l
;
TRACE
(
"iface %p, index %u
\n
"
,
iface
,
index
);
if
(
index
>=
This
->
local_buffer_count
)
{
WARN
(
"Invalid index specified
\n
"
);
return
NULL
;
}
l
=
&
This
->
local_buffers
[
index
];
TRACE
(
"Returning buffer %p,
\"
%s
\"\n
"
,
l
,
l
->
name
);
return
(
ID3D10EffectConstantBuffer
*
)
l
;
}
static
struct
ID3D10EffectConstantBuffer
*
STDMETHODCALLTYPE
d3d10_effect_GetConstantBufferByName
(
ID3D10Effect
*
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