(drivers_font_renderer/stb.c) Use retro_read_file

This commit is contained in:
twinaphex 2016-01-30 04:00:46 +01:00
parent f1819b8c13
commit a7a8ff387a

View File

@ -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))