mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +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,
|
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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user