mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-31 00:22:31 +00:00
(MSVC) Buildfix
This commit is contained in:
parent
de30940079
commit
a73f10f124
@ -132,17 +132,14 @@ error:
|
||||
|
||||
static void *font_renderer_stb_init(const char *font_path, float font_size)
|
||||
{
|
||||
uint8_t *font_data = NULL;
|
||||
int ascent, descent, line_gap;
|
||||
stbtt_fontinfo info;
|
||||
uint8_t *font_data = NULL;
|
||||
stb_font_renderer_t *self = (stb_font_renderer_t*) calloc(1, sizeof(*self));
|
||||
|
||||
/* See https://github.com/nothings/stb/blob/master/stb_truetype.h#L539 */
|
||||
font_size = STBTT_POINT_SIZE(font_size);
|
||||
|
||||
/* prevent warnings */
|
||||
(void)rect_width_compare;
|
||||
|
||||
if (!self)
|
||||
goto error;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user