mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(drivers_font_renderer/stb.c) Use retro_read_file
This commit is contained in:
parent
f1819b8c13
commit
a7a8ff387a
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue