summaryrefslogtreecommitdiffstats
path: root/minuitwrp/graphics_drm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'minuitwrp/graphics_drm.cpp')
-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;