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
2e2b3c77
Commit
2e2b3c77
authored
Apr 20, 2011
by
Rico Schüller
Committed by
Alexandre Julliard
Apr 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Implement ID3DXBaseEffect::GetPass().
parent
f284dc77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
effect.c
dlls/d3dx9_36/effect.c
+12
-1
No files found.
dlls/d3dx9_36/effect.c
View file @
2e2b3c77
...
...
@@ -668,8 +668,19 @@ static D3DXHANDLE WINAPI ID3DXBaseEffectImpl_GetTechniqueByName(ID3DXBaseEffect
static
D3DXHANDLE
WINAPI
ID3DXBaseEffectImpl_GetPass
(
ID3DXBaseEffect
*
iface
,
D3DXHANDLE
technique
,
UINT
index
)
{
struct
ID3DXBaseEffectImpl
*
This
=
impl_from_ID3DXBaseEffect
(
iface
);
struct
d3dx_technique
*
tech
=
is_valid_technique
(
This
,
technique
);
FIXME
(
"iface %p, technique %p, index %u stub
\n
"
,
This
,
technique
,
index
);
TRACE
(
"iface %p, technique %p, index %u
\n
"
,
This
,
technique
,
index
);
if
(
!
tech
)
tech
=
get_technique_struct
(
iface
->
lpVtbl
->
GetTechniqueByName
(
iface
,
technique
));
if
(
tech
&&
index
<
tech
->
pass_count
)
{
TRACE
(
"Returning pass %p
\n
"
,
tech
->
pass_handles
[
index
]);
return
tech
->
pass_handles
[
index
];
}
WARN
(
"Invalid argument specified.
\n
"
);
return
NULL
;
}
...
...
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