mirror of
https://github.com/libretro/RetroArch
synced 2025-01-16 07:11:49 +00:00
(drivers_font_renderer/stb.c) Use retro_read_file
This commit is contained in:
parent
f1819b8c13
commit
a7a8ff387a
@ -17,6 +17,7 @@
|
||||
#include <ctype.h>
|
||||
|
||||
#include <file/file_path.h>
|
||||
#include <retro_file.h>
|
||||
|
||||
#include "../font_driver.h"
|
||||
#include "../../general.h"
|
||||
@ -146,7 +147,7 @@ static void *font_renderer_stb_init(const char *font_path, float font_size)
|
||||
if (!self)
|
||||
goto error;
|
||||
|
||||
if (!read_file(font_path, (void**)&font_data, NULL))
|
||||
if (!retro_read_file(font_path, (void**)&font_data, NULL))
|
||||
goto error;
|
||||
|
||||
if (!font_renderer_stb_create_atlas(self, font_data, font_size, 512, 512))
|
||||
|
Loading…
Reference in New Issue
Block a user