mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-12 02:44:00 +00:00
(D3D) Use libretro.h pixel format types
This commit is contained in:
parent
e89a712d8d
commit
2adab38d8e
@ -1022,7 +1022,7 @@ static bool d3d_init_chain(d3d_video_t *d3d, const video_info_t *video_info)
|
||||
NULL,
|
||||
#endif
|
||||
&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");
|
||||
return false;
|
||||
|
@ -1055,7 +1055,7 @@ bool renderchain_render(void *chain_data, const void *data,
|
||||
}
|
||||
|
||||
bool renderchain_create_first_pass(void *data, const void *info_data,
|
||||
PixelFormat fmt)
|
||||
unsigned fmt)
|
||||
{
|
||||
unsigned i;
|
||||
Pass pass;
|
||||
|
Loading…
Reference in New Issue
Block a user