From 072d6ff1251cecb4f7417fb0a8d8beb43e380a7e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 23 Mar 2016 07:01:54 +0100 Subject: [PATCH] Rename gfx_coord_array_add to gfx_coord_array_append --- gfx/drivers_font/gl_raster_font.c | 2 +- gfx/video_coord_array.c | 2 +- gfx/video_coord_array.h | 2 +- menu/drivers/zarch.c | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gfx/drivers_font/gl_raster_font.c b/gfx/drivers_font/gl_raster_font.c index 0b044cacb1..843d4a917d 100644 --- a/gfx/drivers_font/gl_raster_font.c +++ b/gfx/drivers_font/gl_raster_font.c @@ -330,7 +330,7 @@ static void gl_raster_font_render_line( coords.lut_tex_coord = font_lut_tex_coord; if (font->block) - gfx_coord_array_add(&font->block->carr, &coords, coords.vertices); + gfx_coord_array_append(&font->block->carr, &coords, coords.vertices); else gl_raster_font_draw_vertices(gl, &coords); diff --git a/gfx/video_coord_array.c b/gfx/video_coord_array.c index a3279f2391..c968edd279 100644 --- a/gfx/video_coord_array.c +++ b/gfx/video_coord_array.c @@ -59,7 +59,7 @@ static bool gfx_coord_array_resize(gfx_coord_array_t *ca, return true; } -bool gfx_coord_array_add(gfx_coord_array_t *ca, +bool gfx_coord_array_append(gfx_coord_array_t *ca, const gfx_coords_t *coords, unsigned count) { size_t base_size, offset; diff --git a/gfx/video_coord_array.h b/gfx/video_coord_array.h index 77b3ad19bb..8c5f941d5f 100644 --- a/gfx/video_coord_array.h +++ b/gfx/video_coord_array.h @@ -84,7 +84,7 @@ typedef struct gfx_raster_block gfx_coord_array_t carr; } gfx_font_raster_block_t; -bool gfx_coord_array_add(gfx_coord_array_t *ca, +bool gfx_coord_array_append(gfx_coord_array_t *ca, const gfx_coords_t *coords, unsigned count); void gfx_coord_array_free(gfx_coord_array_t *ca); diff --git a/menu/drivers/zarch.c b/menu/drivers/zarch.c index 02001ca298..240efc2751 100644 --- a/menu/drivers/zarch.c +++ b/menu/drivers/zarch.c @@ -346,14 +346,14 @@ static void zarch_zui_push_quad(unsigned width, unsigned height, coords.lut_tex_coord = coord_draw.ptr; coords.vertices = 3; - gfx_coord_array_add(ca, &coords, 3); + gfx_coord_array_append(ca, &coords, 3); coords.color += 4; coords.vertex += 2; coords.tex_coord += 2; coords.lut_tex_coord += 2; - gfx_coord_array_add(ca, &coords, 3); + gfx_coord_array_append(ca, &coords, 3); } static float zarch_zui_randf(float min, float max)