mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 09:32:52 +00:00
(D3D) Buildfix
This commit is contained in:
parent
dbbf3c5b20
commit
7e13d24a26
@ -658,10 +658,10 @@ static void *d3d_init(const video_info_t *info,
|
||||
|
||||
/* Reinitialize renderchain as we
|
||||
* might have changed pixel formats.*/
|
||||
if (d3d->renderchain_driver->reinit(vid, info))
|
||||
if (vid->renderchain_driver->reinit(vid, (const void*)info))
|
||||
{
|
||||
d3d_deinit_chain(d3d);
|
||||
d3d_init_chain(d3d, video);
|
||||
d3d_deinit_chain(vid);
|
||||
d3d_init_chain(vid, info);
|
||||
|
||||
if (input && input_data)
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ typedef struct renderchain_driver
|
||||
void *(*chain_new)(void);
|
||||
bool (*init_shader)(void *data);
|
||||
bool (*init_shader_fvf)(void *data, void *pass_data);
|
||||
bool (*reinit)(void *data, void *info_data);
|
||||
bool (*reinit)(void *data, const void *info_data);
|
||||
bool (*init)(void *data,
|
||||
const void *video_info_data,
|
||||
void *dev_data,
|
||||
|
@ -430,7 +430,7 @@ static bool xdk_renderchain_reinit(void *data,
|
||||
"Reinitializing renderchain - and textures (%u x %u @ %u bpp)\n",
|
||||
d3d->tex_w, d3d->tex_h, d3d->pixel_size * CHAR_BIT);
|
||||
|
||||
true;
|
||||
return true;
|
||||
}
|
||||
|
||||
renderchain_driver_t xdk_renderchain = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user