diff options
author | Elliott Hughes <enh@google.com> | 2015-02-12 07:21:28 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-02-12 07:21:28 +0100 |
commit | ff934d0257909e9c5420815547a6e2ff89455314 (patch) | |
tree | 8b73303ffaa0aa3087367b11748b5b16f5ee2ab0 /minui/graphics_adf.c | |
parent | Merge "Fix build when TARGET_USERIMAGES_USE_EXT4 is not defined" (diff) | |
parent | Fix Droid and animation color in recovery mode (diff) | |
download | android_bootable_recovery-ff934d0257909e9c5420815547a6e2ff89455314.tar android_bootable_recovery-ff934d0257909e9c5420815547a6e2ff89455314.tar.gz android_bootable_recovery-ff934d0257909e9c5420815547a6e2ff89455314.tar.bz2 android_bootable_recovery-ff934d0257909e9c5420815547a6e2ff89455314.tar.lz android_bootable_recovery-ff934d0257909e9c5420815547a6e2ff89455314.tar.xz android_bootable_recovery-ff934d0257909e9c5420815547a6e2ff89455314.tar.zst android_bootable_recovery-ff934d0257909e9c5420815547a6e2ff89455314.zip |
Diffstat (limited to 'minui/graphics_adf.c')
-rw-r--r-- | minui/graphics_adf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/minui/graphics_adf.c b/minui/graphics_adf.c index 289c3be63..c023d4db9 100644 --- a/minui/graphics_adf.c +++ b/minui/graphics_adf.c @@ -142,7 +142,9 @@ static gr_surface adf_init(minui_backend *backend) ssize_t n_dev_ids, i; gr_surface ret; -#if defined(RECOVERY_BGRA) +#if defined(RECOVERY_ABGR) + pdata->format = DRM_FORMAT_ABGR8888; +#elif defined(RECOVERY_BGRA) pdata->format = DRM_FORMAT_BGRA8888; #elif defined(RECOVERY_RGBX) pdata->format = DRM_FORMAT_RGBX8888; |