From 304f32fa988815c2780c709235724e94651d02ba Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Fri, 7 Nov 2014 10:14:05 -0600 Subject: Fix up old libminui to compile Implement some needed updates to libminui to make it compile for healthd. Note that res_create_multi_display_surface is not fully implemented so healthd may still have issues with displaying some graphics. Will update later when we are able to test these changes. Change-Id: Ic1095a998f5dfe7e36a08384c86da28e0524a03f --- minui/graphics.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'minui/graphics.c') diff --git a/minui/graphics.c b/minui/graphics.c index 8f951756d..948a07c0f 100644 --- a/minui/graphics.c +++ b/minui/graphics.c @@ -495,3 +495,11 @@ void gr_get_memory_surface(gr_surface surface) { get_memory_surface( (GGLSurface*) surface); } + +// These are new graphics functions from 5.0 that were not available in +// 4.4 that are required by charger and healthd +void gr_clear() +{ + return; +} + -- cgit v1.2.3