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
7ff6afd0
Commit
7ff6afd0
authored
Jan 07, 2013
by
Rico Schüller
Committed by
Alexandre Julliard
Jan 08, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Remove unused variable.
parent
e7cd340e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
shader.c
dlls/d3dx9_36/shader.c
+3
-4
No files found.
dlls/d3dx9_36/shader.c
View file @
7ff6afd0
...
...
@@ -1736,10 +1736,9 @@ HRESULT WINAPI D3DXGetShaderConstantTable(const DWORD *byte_code, ID3DXConstantT
HRESULT
WINAPI
D3DXGetShaderSamplers
(
const
DWORD
*
byte_code
,
const
char
**
samplers
,
UINT
*
count
)
{
HRESULT
hr
;
UINT
i
,
sampler_count
=
0
;
UINT
size
;
LPCSTR
data
;
const
char
*
data
;
const
D3DXSHADER_CONSTANTTABLE
*
ctab_header
;
const
D3DXSHADER_CONSTANTINFO
*
constant_info
;
...
...
@@ -1747,8 +1746,8 @@ HRESULT WINAPI D3DXGetShaderSamplers(const DWORD *byte_code, const char **sample
if
(
count
)
*
count
=
0
;
hr
=
D3DXFindShaderComment
(
byte_code
,
MAKEFOURCC
(
'C'
,
'T'
,
'A'
,
'B'
),
(
LPCVOID
*
)
&
data
,
&
size
);
if
(
hr
!=
D3D_OK
)
return
D3D_OK
;
if
(
D3DXFindShaderComment
(
byte_code
,
MAKEFOURCC
(
'C'
,
'T'
,
'A'
,
'B'
),
(
const
void
**
)
&
data
,
&
size
)
!=
D3D_OK
)
return
D3D_OK
;
if
(
size
<
sizeof
(
*
ctab_header
))
return
D3D_OK
;
...
...
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