From b83d58cd5915d2e9263a79708bf761969d464ee1 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 7 Jun 2016 15:25:00 +0200 Subject: [PATCH] xmb_gradient_ident - don't bake it in when HAVE_SHADERPIPELINE is not defined --- menu/drivers/xmb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 1ab2471083..66e47c7106 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -351,6 +351,7 @@ static const char *xmb_thumbnails_ident(void) return "OFF"; } +#ifdef HAVE_SHADERPIPELINE static float *xmb_gradient_ident(void) { settings_t *settings = config_get_ptr(); @@ -380,6 +381,7 @@ static float *xmb_gradient_ident(void) return &gradient_legacy_red[0]; } +#endif static void xmb_fill_default_background_path(xmb_handle_t *xmb, char *path, size_t size)