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
651e0445
Commit
651e0445
authored
Apr 07, 2011
by
Rico Schüller
Committed by
Alexandre Julliard
Apr 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Fix return values.
parent
14f925d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
effect.c
dlls/d3dx9_36/effect.c
+7
-7
No files found.
dlls/d3dx9_36/effect.c
View file @
651e0445
...
...
@@ -2328,7 +2328,7 @@ static HRESULT d3dx9_parse_effect(struct ID3DXBaseEffectImpl *base, const char *
/* todo: Parse techniques */
return
S
_OK
;
return
D3D
_OK
;
}
static
HRESULT
d3dx9_base_effect_init
(
struct
ID3DXBaseEffectImpl
*
base
,
...
...
@@ -2361,14 +2361,14 @@ static HRESULT d3dx9_base_effect_init(struct ID3DXBaseEffectImpl *base,
TRACE
(
"Offset: %x
\n
"
,
offset
);
hr
=
d3dx9_parse_effect
(
base
,
ptr
,
data_size
,
offset
);
if
(
hr
!=
S
_OK
)
if
(
hr
!=
D3D
_OK
)
{
FIXME
(
"Failed to parse effect.
\n
"
);
return
hr
;
}
}
return
S
_OK
;
return
D3D
_OK
;
}
static
HRESULT
d3dx9_effect_init
(
struct
ID3DXEffectImpl
*
effect
,
LPDIRECT3DDEVICE9
device
,
...
...
@@ -2397,7 +2397,7 @@ static HRESULT d3dx9_effect_init(struct ID3DXEffectImpl *effect, LPDIRECT3DDEVIC
}
hr
=
d3dx9_base_effect_init
(
object
,
data
,
data_size
,
effect
);
if
(
hr
!=
S
_OK
)
if
(
hr
!=
D3D
_OK
)
{
FIXME
(
"Failed to parse effect.
\n
"
);
goto
err_out
;
...
...
@@ -2405,7 +2405,7 @@ static HRESULT d3dx9_effect_init(struct ID3DXEffectImpl *effect, LPDIRECT3DDEVIC
effect
->
base_effect
=
&
object
->
ID3DXBaseEffect_iface
;
return
S
_OK
;
return
D3D
_OK
;
err_out:
...
...
@@ -2499,7 +2499,7 @@ static HRESULT d3dx9_effect_compiler_init(struct ID3DXEffectCompilerImpl *compil
}
hr
=
d3dx9_base_effect_init
(
object
,
data
,
data_size
,
NULL
);
if
(
hr
!=
S
_OK
)
if
(
hr
!=
D3D
_OK
)
{
FIXME
(
"Failed to parse effect.
\n
"
);
goto
err_out
;
...
...
@@ -2507,7 +2507,7 @@ static HRESULT d3dx9_effect_compiler_init(struct ID3DXEffectCompilerImpl *compil
compiler
->
base_effect
=
&
object
->
ID3DXBaseEffect_iface
;
return
S
_OK
;
return
D3D
_OK
;
err_out:
...
...
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