mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
(D3D9 renderchain) Take out video_frame_info dependencies
This commit is contained in:
parent
c465fda58a
commit
3e706fe5b2
@ -52,7 +52,6 @@ typedef struct d3d9_renderchain_driver
|
||||
const char *id, const char *path,
|
||||
bool smooth);
|
||||
bool (*render)(d3d9_video_t *d3d,
|
||||
const video_frame_info_t *video_info,
|
||||
const void *frame,
|
||||
unsigned width, unsigned height, unsigned pitch, unsigned rotation);
|
||||
const char *ident;
|
||||
|
@ -1586,8 +1586,7 @@ static bool d3d9_frame(void *data, const void *frame,
|
||||
}
|
||||
|
||||
if (!d3d->renderchain_driver->render(
|
||||
d3d, video_info,
|
||||
frame, frame_width, frame_height,
|
||||
d3d, frame, frame_width, frame_height,
|
||||
pitch, d3d->dev_rotation))
|
||||
{
|
||||
RARCH_ERR("[D3D9]: Failed to render scene.\n");
|
||||
|
@ -772,7 +772,6 @@ static bool d3d9_cg_renderchain_create_first_pass(
|
||||
|
||||
static bool d3d9_cg_renderchain_init(
|
||||
d3d9_video_t *d3d,
|
||||
const video_info_t *video_info,
|
||||
LPDIRECT3DDEVICE9 dev,
|
||||
const D3DVIEWPORT9 *final_viewport,
|
||||
const struct LinkInfo *info,
|
||||
@ -960,7 +959,6 @@ static void d3d9_cg_renderchain_render_pass(
|
||||
|
||||
static bool d3d9_cg_renderchain_render(
|
||||
d3d9_video_t *d3d,
|
||||
const video_frame_info_t *video_info,
|
||||
const void *frame_data,
|
||||
unsigned width, unsigned height,
|
||||
unsigned pitch, unsigned rotation)
|
||||
|
@ -418,7 +418,6 @@ static bool hlsl_d3d9_renderchain_init_shader(d3d9_video_t *d3d,
|
||||
|
||||
static bool hlsl_d3d9_renderchain_init(
|
||||
d3d9_video_t *d3d,
|
||||
const video_info_t *video_info,
|
||||
LPDIRECT3DDEVICE9 dev,
|
||||
const D3DVIEWPORT9 *final_viewport,
|
||||
const struct LinkInfo *info,
|
||||
@ -540,7 +539,6 @@ static void hlsl_d3d9_renderchain_render_pass(
|
||||
|
||||
static bool hlsl_d3d9_renderchain_render(
|
||||
d3d9_video_t *d3d,
|
||||
const video_frame_info_t *video_info,
|
||||
const void *frame,
|
||||
unsigned width, unsigned height,
|
||||
unsigned pitch, unsigned rotation)
|
||||
|
Loading…
x
Reference in New Issue
Block a user