diff --git a/gfx/gfx_display.c b/gfx/gfx_display.c index 599ae4a756..95ba8d03d6 100644 --- a/gfx/gfx_display.c +++ b/gfx/gfx_display.c @@ -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,