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
c29f186f
Commit
c29f186f
authored
Mar 08, 2010
by
Christian Costa
Committed by
Alexandre Julliard
Mar 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Rename variables in D3DXGetShaderConstantTable(Ex) to match naming…
d3dx9_36: Rename variables in D3DXGetShaderConstantTable(Ex) to match naming convention used in the file.
parent
c37ada25
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
shader.c
dlls/d3dx9_36/shader.c
+10
-10
No files found.
dlls/d3dx9_36/shader.c
View file @
c29f186f
...
...
@@ -585,21 +585,21 @@ static const struct ID3DXConstantTableVtbl ID3DXConstantTable_Vtbl =
ID3DXConstantTableImpl_SetMatrixTransposePointerArray
};
HRESULT
WINAPI
D3DXGetShaderConstantTableEx
(
CONST
DWORD
*
pFunction
,
HRESULT
WINAPI
D3DXGetShaderConstantTableEx
(
CONST
DWORD
*
byte_code
,
DWORD
flags
,
LPD3DXCONSTANTTABLE
*
ppConstantT
able
)
LPD3DXCONSTANTTABLE
*
constant_t
able
)
{
ID3DXConstantTableImpl
*
object
;
HRESULT
hr
;
LPCVOID
data
;
UINT
size
;
FIXME
(
"(%p, %x, %p): semi-stub
\n
"
,
pFunction
,
flags
,
ppConstantT
able
);
FIXME
(
"(%p, %x, %p): semi-stub
\n
"
,
byte_code
,
flags
,
constant_t
able
);
if
(
!
pFunction
||
!
ppConstantT
able
)
if
(
!
byte_code
||
!
constant_t
able
)
return
D3DERR_INVALIDCALL
;
hr
=
D3DXFindShaderComment
(
pFunction
,
MAKEFOURCC
(
'C'
,
'T'
,
'A'
,
'B'
),
&
data
,
&
size
);
hr
=
D3DXFindShaderComment
(
byte_code
,
MAKEFOURCC
(
'C'
,
'T'
,
'A'
,
'B'
),
&
data
,
&
size
);
if
(
hr
!=
D3D_OK
)
return
D3DXERR_INVALIDDATA
;
...
...
@@ -623,15 +623,15 @@ HRESULT WINAPI D3DXGetShaderConstantTableEx(CONST DWORD* pFunction,
object
->
size
=
size
;
memcpy
(
object
->
ctab
,
data
,
object
->
size
);
*
ppConstantT
able
=
(
LPD3DXCONSTANTTABLE
)
object
;
*
constant_t
able
=
(
LPD3DXCONSTANTTABLE
)
object
;
return
D3D_OK
;
}
HRESULT
WINAPI
D3DXGetShaderConstantTable
(
CONST
DWORD
*
pFunction
,
LPD3DXCONSTANTTABLE
*
ppConstantT
able
)
HRESULT
WINAPI
D3DXGetShaderConstantTable
(
CONST
DWORD
*
byte_code
,
LPD3DXCONSTANTTABLE
*
constant_t
able
)
{
TRACE
(
"(%p, %p): Forwarded to D3DXGetShaderConstantTableEx
\n
"
,
pFunction
,
ppConstantT
able
);
TRACE
(
"(%p, %p): Forwarded to D3DXGetShaderConstantTableEx
\n
"
,
byte_code
,
constant_t
able
);
return
D3DXGetShaderConstantTableEx
(
pFunction
,
0
,
ppConstantT
able
);
return
D3DXGetShaderConstantTableEx
(
byte_code
,
0
,
constant_t
able
);
}
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