mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-19 09:23:01 +00:00
Rename gfx_coord_array_add to gfx_coord_array_append
This commit is contained in:
parent
e1c47a68fe
commit
072d6ff125
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user