mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Remove unneeded variables
This commit is contained in:
parent
84d750bae1
commit
7050ecf287
@ -146,8 +146,7 @@ static bool gl_raster_font_upload_atlas(gl_raster_t *font)
|
||||
static void *gl_raster_font_init_font(void *data,
|
||||
const char *font_path, float font_size)
|
||||
{
|
||||
const struct font_atlas *atlas = NULL;
|
||||
gl_raster_t *font = (gl_raster_t*)calloc(1, sizeof(*font));
|
||||
gl_raster_t *font = (gl_raster_t*)calloc(1, sizeof(*font));
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
if (!font)
|
||||
@ -214,7 +213,6 @@ static void gl_raster_font_free_font(void *data)
|
||||
static int gl_get_message_width(void *data, const char *msg,
|
||||
unsigned msg_len, float scale)
|
||||
{
|
||||
unsigned i;
|
||||
gl_raster_t *font = (gl_raster_t*)data;
|
||||
const char* msg_end = msg + msg_len;
|
||||
int delta_x = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user