mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-10 13:02:27 +00:00
(D3D) Cleanups
This commit is contained in:
parent
d8c824951a
commit
df164dd328
@ -1594,16 +1594,16 @@ static bool d3d_frame(void *data, const void *frame,
|
||||
}
|
||||
|
||||
#ifdef _XBOX
|
||||
renderchain_render(d3d, frame, width, height,
|
||||
pitch, d3d->dev_rotation);
|
||||
if (!renderchain_render(d3d, frame, width, height,
|
||||
pitch, d3d->dev_rotation))
|
||||
#else
|
||||
if (!renderchain_render(d3d->chain, frame, width,
|
||||
height, pitch, d3d->dev_rotation))
|
||||
#endif
|
||||
{
|
||||
RARCH_ERR("[D3D]: Failed to render scene.\n");
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (font_ctx->render_msg && msg)
|
||||
{
|
||||
@ -1776,11 +1776,6 @@ static bool d3d_set_shader(void *data,
|
||||
return !restore_old;
|
||||
}
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
static void d3d_get_poke_interface(void *data,
|
||||
const video_poke_interface_t **iface);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
static void d3d_set_menu_texture_frame(void *data,
|
||||
const void *frame, bool rgb32, unsigned width, unsigned height,
|
||||
|
Loading…
Reference in New Issue
Block a user