summaryrefslogtreecommitdiffstats
path: root/minuitwrp
diff options
context:
space:
mode:
authorSimon Shields <simon@lineageos.org>2018-01-25 02:46:41 +0100
committerDees Troy <dees_troy@teamw.in>2018-05-25 15:08:59 +0200
commit1021c5ae506466fa6ad9accfb540f243e3c6d7ba (patch)
tree4cf0eeefcfeed0c0941ae9d3783d9da220f32c72 /minuitwrp
parentMerge "external/scrypt: use proper nativehelper headers" into android-8.1 (diff)
downloadandroid_bootable_recovery-1021c5ae506466fa6ad9accfb540f243e3c6d7ba.tar
android_bootable_recovery-1021c5ae506466fa6ad9accfb540f243e3c6d7ba.tar.gz
android_bootable_recovery-1021c5ae506466fa6ad9accfb540f243e3c6d7ba.tar.bz2
android_bootable_recovery-1021c5ae506466fa6ad9accfb540f243e3c6d7ba.tar.lz
android_bootable_recovery-1021c5ae506466fa6ad9accfb540f243e3c6d7ba.tar.xz
android_bootable_recovery-1021c5ae506466fa6ad9accfb540f243e3c6d7ba.tar.zst
android_bootable_recovery-1021c5ae506466fa6ad9accfb540f243e3c6d7ba.zip
Diffstat (limited to 'minuitwrp')
-rw-r--r--minuitwrp/graphics_drm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/minuitwrp/graphics_drm.cpp b/minuitwrp/graphics_drm.cpp
index 9bbf7e98f..c1fade41c 100644
--- a/minuitwrp/graphics_drm.cpp
+++ b/minuitwrp/graphics_drm.cpp
@@ -148,8 +148,8 @@ static drm_surface *drm_create_surface(int width, int height) {
printf("setting DRM_FORMAT_RGBA8888 and GGL_PIXEL_FORMAT_RGBA_8888\n");
#elif defined(RECOVERY_BGRA)
format = DRM_FORMAT_ARGB8888;
- base_format = GGL_PIXEL_FORMAT_BGRA_8888;
- printf("setting DRM_FORMAT_ARGB8888 and GGL_PIXEL_FORMAT_BGRA_8888, GGL_PIXEL_FORMAT may not match!\n");
+ base_format = GGL_PIXEL_FORMAT_RGBA_8888;
+ printf("setting DRM_FORMAT_ARGB8888 and GGL_PIXEL_FORMAT_RGBA_8888\n");
#elif defined(RECOVERY_RGBA)
format = DRM_FORMAT_ABGR8888;
base_format = GGL_PIXEL_FORMAT_BGRA_8888;