(D3D) Use libretro.h pixel format types

This commit is contained in:
twinaphex 2015-04-05 16:51:19 +02:00
parent e89a712d8d
commit 2adab38d8e
2 changed files with 2 additions and 2 deletions

View File

@ -1022,7 +1022,7 @@ static bool d3d_init_chain(d3d_video_t *d3d, const video_info_t *video_info)
NULL, NULL,
#endif #endif
&d3d->final_viewport, &link_info, &d3d->final_viewport, &link_info,
d3d->video_info.rgb32 ? ARGB : RGB565)) d3d->video_info.rgb32 ? RETRO_PIXEL_FORMAT_XRGB8888 : RETRO_PIXEL_FORMAT_RGB565))
{ {
RARCH_ERR("[D3D9]: Failed to init render chain.\n"); RARCH_ERR("[D3D9]: Failed to init render chain.\n");
return false; return false;

View File

@ -1055,7 +1055,7 @@ bool renderchain_render(void *chain_data, const void *data,
} }
bool renderchain_create_first_pass(void *data, const void *info_data, bool renderchain_create_first_pass(void *data, const void *info_data,
PixelFormat fmt) unsigned fmt)
{ {
unsigned i; unsigned i;
Pass pass; Pass pass;