summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers/video/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/drivers/video/graphics.c')
-rw-r--r--payloads/libpayload/drivers/video/graphics.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/payloads/libpayload/drivers/video/graphics.c b/payloads/libpayload/drivers/video/graphics.c
index 52c003511c..167433b596 100644
--- a/payloads/libpayload/drivers/video/graphics.c
+++ b/payloads/libpayload/drivers/video/graphics.c
@@ -149,20 +149,6 @@ static int cbgfx_init(void)
return 0;
}
-void *load_bitmap(const char *name, size_t *size)
-{
- static struct cbfs_media media;
- static int cbfs_media_initialized = 0;
- if (!cbfs_media_initialized) {
- if (init_default_cbfs_media(&media)) {
- printf("Failed to initialize default media\n");
- return NULL;
- }
- }
- cbfs_media_initialized = 1;
- return cbfs_get_file_content(&media, name, CBFS_TYPE_RAW, size);
-}
-
int draw_box(const struct rect *box, const struct rgb_color *rgb)
{
struct vector top_left;