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
fa608e24
Commit
fa608e24
authored
Apr 18, 2011
by
Rico Schüller
Committed by
Alexandre Julliard
Apr 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Implement ID3DXBaseEffect::GetTechniqueByName().
parent
6f824e17
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
effect.c
dlls/d3dx9_36/effect.c
+21
-1
No files found.
dlls/d3dx9_36/effect.c
View file @
fa608e24
...
...
@@ -605,8 +605,28 @@ static D3DXHANDLE WINAPI ID3DXBaseEffectImpl_GetTechnique(ID3DXBaseEffect *iface
static
D3DXHANDLE
WINAPI
ID3DXBaseEffectImpl_GetTechniqueByName
(
ID3DXBaseEffect
*
iface
,
LPCSTR
name
)
{
struct
ID3DXBaseEffectImpl
*
This
=
impl_from_ID3DXBaseEffect
(
iface
);
unsigned
int
i
;
FIXME
(
"iface %p, name %s stub
\n
"
,
This
,
debugstr_a
(
name
));
TRACE
(
"iface %p, name %s stub
\n
"
,
This
,
debugstr_a
(
name
));
if
(
!
name
)
{
WARN
(
"Invalid argument specified.
\n
"
);
return
NULL
;
}
for
(
i
=
0
;
i
<
This
->
technique_count
;
++
i
)
{
struct
d3dx_technique
*
tech
=
get_technique_struct
(
This
->
technique_handles
[
i
]);
if
(
!
strcmp
(
tech
->
name
,
name
))
{
TRACE
(
"Returning technique %p
\n
"
,
This
->
technique_handles
[
i
]);
return
This
->
technique_handles
[
i
];
}
}
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