mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-24 03:36:24 +00:00
Rename gfx_font_raster_block
This commit is contained in:
parent
dde471e001
commit
b2f5e2ac08
@ -44,7 +44,7 @@ typedef struct
|
||||
const font_renderer_driver_t *font_driver;
|
||||
void *font_data;
|
||||
|
||||
gfx_font_raster_block_t *block;
|
||||
video_font_raster_block_t *block;
|
||||
} gl_raster_t;
|
||||
|
||||
static void gl_raster_font_free_font(void *data);
|
||||
@ -520,7 +520,7 @@ static const struct font_glyph *gl_raster_font_get_glyph(
|
||||
static void gl_raster_font_flush_block(void *data)
|
||||
{
|
||||
gl_raster_t *font = (gl_raster_t*)data;
|
||||
gfx_font_raster_block_t *block = font ? font->block : NULL;
|
||||
video_font_raster_block_t *block = font ? font->block : NULL;
|
||||
|
||||
if (!font || !block || !block->carr.coords.vertices)
|
||||
return;
|
||||
@ -533,7 +533,7 @@ static void gl_raster_font_flush_block(void *data)
|
||||
static void gl_raster_font_bind_block(void *data, void *userdata)
|
||||
{
|
||||
gl_raster_t *font = (gl_raster_t*)data;
|
||||
gfx_font_raster_block_t *block = (gfx_font_raster_block_t*)userdata;
|
||||
video_font_raster_block_t *block = (video_font_raster_block_t*)userdata;
|
||||
|
||||
if (font)
|
||||
font->block = block;
|
||||
|
@ -82,11 +82,11 @@ typedef struct video_coord_array
|
||||
unsigned allocated;
|
||||
} video_coord_array_t;
|
||||
|
||||
typedef struct gfx_raster_block
|
||||
typedef struct video_font_raster_block
|
||||
{
|
||||
bool fullscreen;
|
||||
video_coord_array_t carr;
|
||||
} gfx_font_raster_block_t;
|
||||
} video_font_raster_block_t;
|
||||
|
||||
bool video_coord_array_append(video_coord_array_t *ca,
|
||||
const video_coords_t *coords, unsigned count);
|
||||
|
@ -109,7 +109,7 @@ typedef struct mui_handle
|
||||
size_t selection_ptr;
|
||||
} categories;
|
||||
|
||||
gfx_font_raster_block_t list_block;
|
||||
video_font_raster_block_t list_block;
|
||||
float scroll_y;
|
||||
} mui_handle_t;
|
||||
|
||||
|
@ -243,7 +243,7 @@ typedef struct xmb_handle
|
||||
xmb_node_t history_tab_node;
|
||||
xmb_node_t add_tab_node;
|
||||
|
||||
gfx_font_raster_block_t raster_block;
|
||||
video_font_raster_block_t raster_block;
|
||||
} xmb_handle_t;
|
||||
|
||||
float gradient_dark_purple[16] = {
|
||||
|
@ -107,7 +107,7 @@ typedef struct zarch_handle
|
||||
math_matrix_4x4 mvp;
|
||||
unsigned width;
|
||||
unsigned height;
|
||||
gfx_font_raster_block_t tmp_block;
|
||||
video_font_raster_block_t tmp_block;
|
||||
unsigned hash;
|
||||
|
||||
struct {
|
||||
|
Loading…
Reference in New Issue
Block a user