mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 15:40:44 +00:00
C89_BUILD fixes
This commit is contained in:
parent
c87ef25133
commit
dd1c376ea9
@ -228,6 +228,9 @@ static bool imageviewer_load(const char *path, int image_index)
|
||||
#ifdef STB_IMAGE_IMPLEMENTATION
|
||||
int comp;
|
||||
#endif
|
||||
#ifdef RARCH_INTERNAL
|
||||
extern bool video_driver_supports_rgba(void);
|
||||
#endif
|
||||
|
||||
imageviewer_free_image();
|
||||
|
||||
@ -240,7 +243,6 @@ static bool imageviewer_load(const char *path, int image_index)
|
||||
4);
|
||||
#else
|
||||
#ifdef RARCH_INTERNAL
|
||||
extern bool video_driver_supports_rgba();
|
||||
image_texture.supports_rgba = video_driver_supports_rgba();
|
||||
#endif
|
||||
if (!image_texture_load(&image_texture, path))
|
||||
|
@ -590,6 +590,7 @@ static void mui_render_label_value(mui_handle_t *mui,
|
||||
char label_str[255];
|
||||
char sublabel_str[255];
|
||||
char value_str[255];
|
||||
uint32_t sublabel_color;
|
||||
float label_offset = 0;
|
||||
bool switch_is_on = true;
|
||||
int value_len = utf8len(value);
|
||||
@ -598,7 +599,6 @@ static void mui_render_label_value(mui_handle_t *mui,
|
||||
bool do_draw_text = false;
|
||||
size_t usable_width = width - (mui->margin * 2);
|
||||
label_str[0] = value_str[0] = sublabel_str[0] = '\0';
|
||||
uint32_t sublabel_color;
|
||||
|
||||
#ifdef VITA
|
||||
sublabel_color = 0xff888888;
|
||||
|
Loading…
x
Reference in New Issue
Block a user