mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +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;
|
unsigned count = 0;
|
||||||
core_info_t *info = (core_info_t*)&core_info_list->list[i];
|
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)
|
if (!info || !config)
|
||||||
continue;
|
continue;
|
||||||
|
@ -186,11 +186,13 @@ static void *gfx_ctx_glx_init(void *data)
|
|||||||
int nelements, major, minor;
|
int nelements, major, minor;
|
||||||
GLXFBConfig *fbcs = NULL;
|
GLXFBConfig *fbcs = NULL;
|
||||||
gfx_ctx_glx_data_t *glx = (gfx_ctx_glx_data_t*)calloc(1, sizeof(gfx_ctx_glx_data_t));
|
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 *hw_render =
|
||||||
(const struct retro_hw_render_callback*)video_driver_callback();
|
(const struct retro_hw_render_callback*)video_driver_callback();
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!glx)
|
if (!glx)
|
||||||
return false;
|
return NULL;
|
||||||
|
|
||||||
XInitThreads();
|
XInitThreads();
|
||||||
|
|
||||||
|
@ -189,7 +189,7 @@ static void gfx_ctx_wl_check_window(void *data, bool *quit,
|
|||||||
|
|
||||||
(void)frame_count;
|
(void)frame_count;
|
||||||
|
|
||||||
flush_wayland_fd(data);
|
flush_wayland_fd((gfx_ctx_wayland_data_t*)data);
|
||||||
|
|
||||||
new_width = *width;
|
new_width = *width;
|
||||||
new_height = *height;
|
new_height = *height;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user