mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Remove stub functions in null display driver
This commit is contained in:
parent
7225170e97
commit
e87b44a68c
@ -40,13 +40,6 @@
|
||||
* needs to be refactored */
|
||||
uintptr_t gfx_display_white_texture;
|
||||
|
||||
static void gfx_display_null_blend_begin(void *data) { }
|
||||
static void gfx_display_null_blend_end(void *data) { }
|
||||
static void gfx_display_null_draw(gfx_display_ctx_draw_t *draw,
|
||||
void *data, unsigned width, unsigned height) { }
|
||||
static void gfx_display_null_draw_pipeline(gfx_display_ctx_draw_t *draw,
|
||||
void *data, unsigned width, unsigned height) { }
|
||||
|
||||
static bool gfx_display_null_font_init_first(
|
||||
void **font_handle, void *video_data,
|
||||
const char *font_path, float font_size,
|
||||
@ -74,10 +67,10 @@ static const float *gfx_display_null_get_default_tex_coords(void)
|
||||
}
|
||||
|
||||
gfx_display_ctx_driver_t gfx_display_ctx_null = {
|
||||
gfx_display_null_draw,
|
||||
gfx_display_null_draw_pipeline,
|
||||
gfx_display_null_blend_begin,
|
||||
gfx_display_null_blend_end,
|
||||
NULL, /* draw */
|
||||
NULL, /* draw_pipeline */
|
||||
NULL, /* blend_begin */
|
||||
NULL, /* blend_end */
|
||||
NULL, /* get_default_mvp */
|
||||
gfx_display_null_get_default_vertices,
|
||||
gfx_display_null_get_default_tex_coords,
|
||||
|
Loading…
Reference in New Issue
Block a user