mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-01 09:12:35 +00:00
CXX_BUILD fixes
This commit is contained in:
parent
02fb8dd052
commit
e1331fa6a5
@ -71,7 +71,7 @@ static void core_info_list_resolve_all_firmware(
|
||||
{
|
||||
unsigned count = 0;
|
||||
core_info_t *info = (core_info_t*)&core_info_list->list[i];
|
||||
config_file_t *config = info->config_data;
|
||||
config_file_t *config = (config_file_t*)info->config_data;
|
||||
|
||||
if (!info || !config)
|
||||
continue;
|
||||
|
@ -186,11 +186,13 @@ static void *gfx_ctx_glx_init(void *data)
|
||||
int nelements, major, minor;
|
||||
GLXFBConfig *fbcs = NULL;
|
||||
gfx_ctx_glx_data_t *glx = (gfx_ctx_glx_data_t*)calloc(1, sizeof(gfx_ctx_glx_data_t));
|
||||
#ifndef GL_DEBUG
|
||||
const struct retro_hw_render_callback *hw_render =
|
||||
(const struct retro_hw_render_callback*)video_driver_callback();
|
||||
#endif
|
||||
|
||||
if (!glx)
|
||||
return false;
|
||||
return NULL;
|
||||
|
||||
XInitThreads();
|
||||
|
||||
|
@ -189,7 +189,7 @@ static void gfx_ctx_wl_check_window(void *data, bool *quit,
|
||||
|
||||
(void)frame_count;
|
||||
|
||||
flush_wayland_fd(data);
|
||||
flush_wayland_fd((gfx_ctx_wayland_data_t*)data);
|
||||
|
||||
new_width = *width;
|
||||
new_height = *height;
|
||||
|
Loading…
x
Reference in New Issue
Block a user