mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(D3D) Cleanups pt. 4
This commit is contained in:
parent
9081500780
commit
8a516b13ac
@ -375,12 +375,13 @@ bool renderchain_render(void *chain_data, const void *data,
|
||||
return true;
|
||||
}
|
||||
|
||||
bool renderchain_create_first_pass(void *data, const LinkInfo *info,
|
||||
bool renderchain_create_first_pass(void *data, const void *info_data,
|
||||
PixelFormat fmt)
|
||||
{
|
||||
unsigned i;
|
||||
Pass pass;
|
||||
D3DXMATRIX ident;
|
||||
const LinkInfo *info = (const LinkInfo*)info_data;
|
||||
renderchain_t *chain = (renderchain_t*)data;
|
||||
LPDIRECT3DDEVICE d3dr = NULL;
|
||||
|
||||
@ -531,11 +532,12 @@ void renderchain_set_viewport(void *data, D3DVIEWPORT *vp)
|
||||
d3d_set_viewport(d3dr, vp);
|
||||
}
|
||||
|
||||
void renderchain_set_mvp(void *data, CGprogram &vPrg,
|
||||
void renderchain_set_mvp(void *data, void *vertex_program,
|
||||
unsigned vp_width, unsigned vp_height,
|
||||
unsigned rotation)
|
||||
{
|
||||
D3DXMATRIX proj, ortho, rot, tmp;
|
||||
CGprogram vPrg = (CGprogram)vertex_program;
|
||||
renderchain_t *chain = (renderchain_t*)data;
|
||||
|
||||
if (!chain)
|
||||
|
@ -139,7 +139,7 @@ D3DTEXTUREFILTERTYPE renderchain_translate_filter(unsigned type);
|
||||
D3DTEXTUREFILTERTYPE renderchain_translate_filter(bool smooth);
|
||||
|
||||
bool renderchain_create_first_pass(void *data,
|
||||
const LinkInfo *info, PixelFormat fmt);
|
||||
const void *info_data, PixelFormat fmt);
|
||||
|
||||
void renderchain_set_vertices(
|
||||
void *data, void *pass_data,
|
||||
@ -150,7 +150,7 @@ void renderchain_set_vertices(
|
||||
|
||||
void renderchain_set_viewport(void *data, D3DVIEWPORT *vp);
|
||||
|
||||
void renderchain_set_mvp(void *data, CGprogram &vPrg,
|
||||
void renderchain_set_mvp(void *data, void *vertex_program,
|
||||
unsigned vp_width, unsigned vp_height,
|
||||
unsigned rotation);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user