summaryrefslogtreecommitdiffstats
path: root/minui
diff options
context:
space:
mode:
Diffstat (limited to 'minui')
-rw-r--r--minui/graphics_overlay.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/minui/graphics_overlay.c b/minui/graphics_overlay.c
index 02ef0b959..5677ad73d 100644
--- a/minui/graphics_overlay.c
+++ b/minui/graphics_overlay.c
@@ -77,7 +77,6 @@ static int map_mdp_pixel_format()
#endif
return format;
}
-#endif // #ifdef MSM_BSP
static bool overlay_supported = false;
@@ -103,8 +102,6 @@ bool target_has_overlay(char *version)
return overlay_supported;
}
-#ifdef MSM_BSP
-
int free_ion_mem(void) {
if (!overlay_supported)
return -EINVAL;
@@ -284,6 +281,10 @@ int overlay_display_frame(int fd, GGLubyte* data, size_t size)
#else
+bool target_has_overlay(char *version) {
+ return false;
+}
+
int free_ion_mem(void) {
return -EINVAL;
}