mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-02 01:34:02 +00:00
CXX_BUILD fixes
This commit is contained in:
parent
c8d97d05e7
commit
66ba52eab0
@ -224,7 +224,7 @@ bool video_shader_driver_ctl(enum video_shader_driver_ctl_state state, void *dat
|
||||
if (!current_shader || !current_shader->set_coords)
|
||||
return false;
|
||||
if (!current_shader->set_coords(coords->handle_data,
|
||||
shader_data, coords->data))
|
||||
shader_data, (const struct gfx_coords*)coords->data))
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
|
@ -73,7 +73,7 @@ bool file_list_prepend(file_list_t *list,
|
||||
|
||||
for (i = list->size -1; i > 0; i--)
|
||||
{
|
||||
struct item_file *copy = calloc(1, sizeof(struct item_file));
|
||||
struct item_file *copy = (struct item_file*)calloc(1, sizeof(struct item_file));
|
||||
|
||||
memcpy(copy, &list->list[i-1], sizeof(struct item_file));
|
||||
|
||||
|
@ -455,7 +455,7 @@ bool menu_display_ctl(enum menu_display_ctl_state state, void *data)
|
||||
case MENU_DISPLAY_CTL_CLEAR_COLOR:
|
||||
if (!menu_disp || !menu_disp->clear_color)
|
||||
return false;
|
||||
menu_disp->clear_color(data);
|
||||
menu_disp->clear_color((menu_display_ctx_clearcolor_t*)data);
|
||||
break;
|
||||
case MENU_DISPLAY_CTL_DRAW:
|
||||
if (!menu_disp || !menu_disp->draw)
|
||||
|
Loading…
x
Reference in New Issue
Block a user