(D3D) Cleanups

This commit is contained in:
twinaphex 2015-04-06 00:44:15 +02:00
parent d8c824951a
commit df164dd328
1 changed files with 3 additions and 8 deletions

View File

@ -1594,16 +1594,16 @@ static bool d3d_frame(void *data, const void *frame,
} }
#ifdef _XBOX #ifdef _XBOX
renderchain_render(d3d, frame, width, height, if (!renderchain_render(d3d, frame, width, height,
pitch, d3d->dev_rotation); pitch, d3d->dev_rotation))
#else #else
if (!renderchain_render(d3d->chain, frame, width, if (!renderchain_render(d3d->chain, frame, width,
height, pitch, d3d->dev_rotation)) height, pitch, d3d->dev_rotation))
#endif
{ {
RARCH_ERR("[D3D]: Failed to render scene.\n"); RARCH_ERR("[D3D]: Failed to render scene.\n");
return false; return false;
} }
#endif
if (font_ctx->render_msg && msg) if (font_ctx->render_msg && msg)
{ {
@ -1776,11 +1776,6 @@ static bool d3d_set_shader(void *data,
return !restore_old; return !restore_old;
} }
#ifdef HAVE_MENU
static void d3d_get_poke_interface(void *data,
const video_poke_interface_t **iface);
#endif
#ifdef HAVE_MENU #ifdef HAVE_MENU
static void d3d_set_menu_texture_frame(void *data, static void d3d_set_menu_texture_frame(void *data,
const void *frame, bool rgb32, unsigned width, unsigned height, const void *frame, bool rgb32, unsigned width, unsigned height,