From 0a5cb0c7cd995ae0330a7d54a8d0db5d892a48a9 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 15 Apr 2015 10:58:56 -0700 Subject: Don't use typedefs that hide *s. gr_surface was causing confusion for no good reason. Change-Id: If7120187f9a00dd16297877fc49352185a4d4ea6 --- minui/graphics.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'minui/graphics.h') diff --git a/minui/graphics.h b/minui/graphics.h index ed229a0c8..81a923383 100644 --- a/minui/graphics.h +++ b/minui/graphics.h @@ -21,13 +21,13 @@ // TODO: lose the function pointers. struct minui_backend { - // Initializes the backend and returns a gr_surface to draw into. - gr_surface (*init)(minui_backend*); + // Initializes the backend and returns a GRSurface* to draw into. + GRSurface* (*init)(minui_backend*); // Causes the current drawing surface (returned by the most recent // call to flip() or init()) to be displayed, and returns a new // drawing surface. - gr_surface (*flip)(minui_backend*); + GRSurface* (*flip)(minui_backend*); // Blank (or unblank) the screen. void (*blank)(minui_backend*, bool); -- cgit v1.2.3