summaryrefslogtreecommitdiffstats
path: root/minui
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2016-08-26 17:05:03 +0200
committerEthan Yonker <dees_troy@teamw.in>2016-08-26 17:05:03 +0200
commit534d4e0612d96210fe76c03c8c0a0355e0f20453 (patch)
tree05324fc8c6c0d97d76fbc607d72ced81f5a0bb9d /minui
parentFix compatibility with 5.1 (diff)
downloadandroid_bootable_recovery-534d4e0612d96210fe76c03c8c0a0355e0f20453.tar
android_bootable_recovery-534d4e0612d96210fe76c03c8c0a0355e0f20453.tar.gz
android_bootable_recovery-534d4e0612d96210fe76c03c8c0a0355e0f20453.tar.bz2
android_bootable_recovery-534d4e0612d96210fe76c03c8c0a0355e0f20453.tar.lz
android_bootable_recovery-534d4e0612d96210fe76c03c8c0a0355e0f20453.tar.xz
android_bootable_recovery-534d4e0612d96210fe76c03c8c0a0355e0f20453.tar.zst
android_bootable_recovery-534d4e0612d96210fe76c03c8c0a0355e0f20453.zip
Diffstat (limited to '')
-rw-r--r--minui/minui.h2
-rw-r--r--minui/resources.cpp6
2 files changed, 8 insertions, 0 deletions
diff --git a/minui/minui.h b/minui/minui.h
index 5e49100cd..dee46411e 100644
--- a/minui/minui.h
+++ b/minui/minui.h
@@ -108,6 +108,8 @@ int res_create_display_surface(const char* name, GRSurface** pSurface);
// by row.
int res_create_multi_display_surface(const char* name, int* frames,
int* fps, GRSurface*** pSurface);
+int res_create_multi_display_surface(const char* name, int* frames,
+ GRSurface*** pSurface);
// Load a single alpha surface from a grayscale PNG image.
int res_create_alpha_surface(const char* name, GRSurface** pSurface);
diff --git a/minui/resources.cpp b/minui/resources.cpp
index 40d3c2c88..34c9c82ba 100644
--- a/minui/resources.cpp
+++ b/minui/resources.cpp
@@ -323,6 +323,12 @@ exit:
return result;
}
+int res_create_multi_display_surface(const char* name, int* frames,
+ GRSurface*** pSurface) {
+ int fps = 0;
+ return res_create_multi_display_surface(name, frames, &fps, pSurface);
+}
+
int res_create_alpha_surface(const char* name, GRSurface** pSurface) {
GRSurface* surface = NULL;
int result = 0;