diff options
Diffstat (limited to 'minui/minui.h')
-rw-r--r-- | minui/minui.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 } |