(D3D) Cleanups

This commit is contained in:
twinaphex 2015-04-05 23:42:40 +02:00
parent 91f9b5713f
commit cbd5f356c8
2 changed files with 3 additions and 2 deletions

View File

@ -351,7 +351,6 @@ static void renderchain_bind_tracker(void *data, void *pass_data, unsigned pass_
{ (WORD)(stream), (WORD)(offset * sizeof(float)), D3DDECLTYPE_FLOAT4, D3DDECLMETHOD_DEFAULT, \
D3DDECLUSAGE_COLOR, (BYTE)(index) } \
bool renderchain_init_shader_fvf(void *data, void *pass_data)
{
CGparameter param;

View File

@ -64,12 +64,14 @@ void renderchain_free(void *data)
#endif
}
bool renderchain_init_shader_fvf(void *data, void *pass_)
bool renderchain_init_shader_fvf(void *data, void *pass_data)
{
d3d_video_t *chain = (d3d_video_t*)data;
d3d_video_t *pass = (d3d_video_t*)data;
LPDIRECT3DDEVICE d3dr = (LPDIRECT3DDEVICE)chain->dev;
(void)pass_data;
#if defined(_XBOX360)
static const D3DVERTEXELEMENT VertexElements[] =
{