mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-28 23:12:14 +00:00
(D3D) Buildfix
This commit is contained in:
parent
afe35e774a
commit
daf3f3bb08
@ -1571,9 +1571,8 @@ static bool d3d_frame(void *data, const void *frame,
|
||||
d3d->screen_height, d3d->video_info.force_aspect,
|
||||
global->system.aspect_ratio);
|
||||
|
||||
#ifndef _XBOX
|
||||
renderchain_set_final_viewport(d3d->chain, &d3d->final_viewport);
|
||||
#endif
|
||||
renderchain_set_final_viewport(d3d,
|
||||
d3d->chain, &d3d->final_viewport);
|
||||
|
||||
d3d->should_resize = false;
|
||||
}
|
||||
|
@ -865,9 +865,11 @@ static void d3d_recompute_pass_sizes(d3d_video_t *d3d)
|
||||
}
|
||||
}
|
||||
|
||||
void renderchain_set_final_viewport(void *data, const void *viewport_data)
|
||||
void renderchain_set_final_viewport(void *data,
|
||||
void *renderchain_data, const void *viewport_data)
|
||||
{
|
||||
renderchain_t *chain = (renderchain_t*)data;
|
||||
d3d_video_t *d3d = (d3d_video_t*)data;
|
||||
renderchain_t *chain = (renderchain_t*)renderchain_data;
|
||||
const D3DVIEWPORT *final_viewport = (const D3DVIEWPORT*)viewport_data;
|
||||
|
||||
if (chain)
|
||||
|
@ -78,7 +78,8 @@ bool renderchain_init(void *data, const video_info_t *video_info,
|
||||
|
||||
void renderchain_clear(void *data);
|
||||
|
||||
void renderchain_set_final_viewport(void *data, const void *viewport_data);
|
||||
void renderchain_set_final_viewport(void *data,
|
||||
void *renderchain_data, const void *viewport_data);
|
||||
|
||||
bool renderchain_set_pass_size(void *data, unsigned pass_index,
|
||||
unsigned width, unsigned height);
|
||||
|
@ -294,5 +294,10 @@ static void renderchain_render_pass(void *data, const void *frame,
|
||||
renderchain_set_mvp(d3d, d3d->screen_width, d3d->screen_height, d3d->dev_rotation);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void renderchain_set_final_viewport(void *data,
|
||||
void *renderchain_data, const void *viewport_data)
|
||||
{
|
||||
(void)data;
|
||||
(void)renderchain_data;
|
||||
(void)viewport_data;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user