Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
73272d16
Commit
73272d16
authored
Jun 21, 2011
by
Travis Athougies
Committed by
Alexandre Julliard
Jun 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Implemented ID3DXConstantTable_SetIntArray and ID3DXConstantTable_SetInt.
parent
3fdcce18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
shader.c
dlls/d3dx9_36/shader.c
+9
-6
No files found.
dlls/d3dx9_36/shader.c
View file @
73272d16
...
...
@@ -835,6 +835,9 @@ static HRESULT set_float_array(ID3DXConstantTable *iface, LPDIRECT3DDEVICE9 devi
case
D3DXPT_FLOAT
:
row
[
0
]
=
((
float
*
)
data
)[
i
];
break
;
case
D3DXPT_INT
:
row
[
0
]
=
(
float
)((
int
*
)
data
)[
i
];
break
;
default:
FIXME
(
"Unhandled type passed to set_float_array
\n
"
);
return
D3DERR_INVALIDCALL
;
...
...
@@ -892,23 +895,23 @@ static HRESULT WINAPI ID3DXConstantTableImpl_SetBoolArray(ID3DXConstantTable* if
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ID3DXConstantTableImpl_SetInt
(
ID3DXConstantTable
*
iface
,
LPDIRECT3DDEVICE9
device
,
D3DXHANDLE
constant
,
INT
n
)
static
HRESULT
WINAPI
ID3DXConstantTableImpl_SetInt
(
ID3DXConstantTable
*
iface
,
LPDIRECT3DDEVICE9
device
,
D3DXHANDLE
constant
,
INT
n
)
{
ID3DXConstantTableImpl
*
This
=
impl_from_ID3DXConstantTable
(
iface
);
FIXME
(
"(%p)->(%p, %p, %d): stub
\n
"
,
This
,
device
,
constant
,
n
);
TRACE
(
"(%p)->(%p, %p, %d)
\n
"
,
This
,
device
,
constant
,
n
);
return
E_NOTIMPL
;
return
ID3DXConstantTable_SetIntArray
(
iface
,
device
,
constant
,
&
n
,
1
)
;
}
static
HRESULT
WINAPI
ID3DXConstantTableImpl_SetIntArray
(
ID3DXConstantTable
*
iface
,
LPDIRECT3DDEVICE9
device
,
static
HRESULT
WINAPI
ID3DXConstantTableImpl_SetIntArray
(
ID3DXConstantTable
*
iface
,
LPDIRECT3DDEVICE9
device
,
D3DXHANDLE
constant
,
CONST
INT
*
n
,
UINT
count
)
{
ID3DXConstantTableImpl
*
This
=
impl_from_ID3DXConstantTable
(
iface
);
FIXME
(
"(%p)->(%p, %p, %p, %d): stub
\n
"
,
This
,
device
,
constant
,
n
,
count
);
TRACE
(
"(%p)->(%p, %p, %p, %d)
\n
"
,
This
,
device
,
constant
,
n
,
count
);
return
E_NOTIMPL
;
return
set_float_array
(
iface
,
device
,
constant
,
n
,
count
,
D3DXPT_INT
)
;
}
static
HRESULT
WINAPI
ID3DXConstantTableImpl_SetFloat
(
ID3DXConstantTable
*
iface
,
LPDIRECT3DDEVICE9
device
,
...
...
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