mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Silence more warnings
This commit is contained in:
parent
702f1276d6
commit
71dd8f9084
@ -914,7 +914,7 @@ static void *gl_glsl_init(void *data, const char *path)
|
||||
if (*glsl->shader->script_class)
|
||||
info.script_class= glsl->shader->script_class;
|
||||
#endif
|
||||
info.script_is_file = NULL;
|
||||
info.script_is_file = false;
|
||||
|
||||
glsl->state_tracker = state_tracker_init(&info);
|
||||
|
||||
|
@ -236,11 +236,12 @@ static bool menu_display_d3d_font_init_first(
|
||||
bool is_threaded)
|
||||
{
|
||||
font_data_t **handle = (font_data_t**)font_handle;
|
||||
*handle = font_driver_init_first(video_data,
|
||||
if (!(*handle = font_driver_init_first(video_data,
|
||||
font_path, font_size, true,
|
||||
is_threaded,
|
||||
FONT_DRIVER_RENDER_DIRECT3D_API);
|
||||
return *handle;
|
||||
FONT_DRIVER_RENDER_DIRECT3D_API)))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
menu_display_ctx_driver_t menu_display_ctx_d3d = {
|
||||
|
@ -249,12 +249,12 @@ static bool menu_display_gl_font_init_first(
|
||||
bool is_threaded)
|
||||
{
|
||||
font_data_t **handle = (font_data_t**)font_handle;
|
||||
*handle = font_driver_init_first(video_data,
|
||||
if (!(*handle = font_driver_init_first(video_data,
|
||||
font_path, font_size, true,
|
||||
is_threaded,
|
||||
FONT_DRIVER_RENDER_OPENGL_API);
|
||||
|
||||
return *handle;
|
||||
FONT_DRIVER_RENDER_OPENGL_API)))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
menu_display_ctx_driver_t menu_display_ctx_gl = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user