diff options
author | Elliott Hughes <enh@google.com> | 2015-04-15 20:26:37 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-15 20:26:37 +0200 |
commit | 7176a61718e7b45a8fde3a25eada0c9425d1dece (patch) | |
tree | 625c21a7688ed613dd22fc9fc9e6c68cec7c44bc /minui/graphics_fbdev.cpp | |
parent | Merge "Move the menu header out of the menu." (diff) | |
parent | Don't use typedefs that hide *s. (diff) | |
download | android_bootable_recovery-7176a61718e7b45a8fde3a25eada0c9425d1dece.tar android_bootable_recovery-7176a61718e7b45a8fde3a25eada0c9425d1dece.tar.gz android_bootable_recovery-7176a61718e7b45a8fde3a25eada0c9425d1dece.tar.bz2 android_bootable_recovery-7176a61718e7b45a8fde3a25eada0c9425d1dece.tar.lz android_bootable_recovery-7176a61718e7b45a8fde3a25eada0c9425d1dece.tar.xz android_bootable_recovery-7176a61718e7b45a8fde3a25eada0c9425d1dece.tar.zst android_bootable_recovery-7176a61718e7b45a8fde3a25eada0c9425d1dece.zip |
Diffstat (limited to 'minui/graphics_fbdev.cpp')
-rw-r--r-- | minui/graphics_fbdev.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/minui/graphics_fbdev.cpp b/minui/graphics_fbdev.cpp index 9dbdde810..997e9cac2 100644 --- a/minui/graphics_fbdev.cpp +++ b/minui/graphics_fbdev.cpp @@ -33,8 +33,8 @@ #include "minui.h" #include "graphics.h" -static gr_surface fbdev_init(minui_backend*); -static gr_surface fbdev_flip(minui_backend*); +static GRSurface* fbdev_init(minui_backend*); +static GRSurface* fbdev_flip(minui_backend*); static void fbdev_blank(minui_backend*, bool); static void fbdev_exit(minui_backend*); @@ -79,7 +79,7 @@ static void set_displayed_framebuffer(unsigned n) displayed_buffer = n; } -static gr_surface fbdev_init(minui_backend* backend) { +static GRSurface* fbdev_init(minui_backend* backend) { int fd = open("/dev/graphics/fb0", O_RDWR); if (fd == -1) { perror("cannot open fb0"); @@ -174,7 +174,7 @@ static gr_surface fbdev_init(minui_backend* backend) { return gr_draw; } -static gr_surface fbdev_flip(minui_backend* backend __unused) { +static GRSurface* fbdev_flip(minui_backend* backend __unused) { if (double_buffered) { #if defined(RECOVERY_BGRA) // In case of BGRA, do some byte swapping |