Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 478f7db6 authored by Craig Donner's avatar Craig Donner
Browse files

Fix assignment of 565 format when creating native client buffers.

Change-Id: Ia379f469a6e18e1f31748dc97aa596d03e507f84
Fixes: 29279664
parent d224e611
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1847,7 +1847,7 @@ EGLClientBuffer eglCreateNativeClientBufferANDROID(const EGLint *attrib_list)
        }
    } else if (red_size == 5 && green_size == 6 && blue_size == 5 &&
               alpha_size == 0) {
        format == HAL_PIXEL_FORMAT_RGB_565;
        format = HAL_PIXEL_FORMAT_RGB_565;
    } else {
        ALOGE("Invalid native pixel format { r=%d, g=%d, b=%d, a=%d }",
                red_size, green_size, blue_size, alpha_size);