From 626009f1b0ac5d8f62fea4ced561c08ece0953a7 Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Wed, 30 Apr 2014 13:25:41 -0700 Subject: recovery: Compatibility with upstream minui change * minui is changing a lot upstream. We won't merge it here, but it's being used in another branch. Add compatibility in CWM so that we can move forward. Change-Id: I6866ec2e4dbbb3e7682595aef91645b6de547435 --- minui/minui.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/minui/minui.h b/minui/minui.h index ccd501f85..b8ca40b9f 100644 --- a/minui/minui.h +++ b/minui/minui.h @@ -79,6 +79,9 @@ void ev_dispatch(void); int res_create_surface(const char* name, gr_surface* pSurface); int res_create_localized_surface(const char* name, gr_surface* pSurface); void res_free_surface(gr_surface surface); +static inline int res_create_display_surface(const char* name, gr_surface* pSurface) { + return res_create_surface(name, pSurface); +} #ifdef __cplusplus } -- cgit v1.2.3