diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2010-10-13 10:16:36 -0400 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2011-03-16 20:18:39 +0800 |
commit | 73d3113849fa457b0ad36f612c1841d7629caeb9 (patch) | |
tree | 2c24e1772bf6b80ac3b34eb98ff1ca3151b58c1d /src/egl | |
parent | 2b1f1af17f8e8f199cb0dd4f7f1a225529b357c5 (diff) |
android: Add __DRI_IMAGE_FORMAT_RGBA8888_REV.
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/drivers/android/droid_image.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/egl/drivers/android/droid_image.c b/src/egl/drivers/android/droid_image.c index 509335bce6..0e69340b7b 100644 --- a/src/egl/drivers/android/droid_image.c +++ b/src/egl/drivers/android/droid_image.c @@ -57,6 +57,8 @@ droid_create_image_android_native_buffer(_EGLDisplay *disp, format = __DRI_IMAGE_FORMAT_RGB565; break; case HAL_PIXEL_FORMAT_RGBA_8888: + format = __DRI_IMAGE_FORMAT_RGBA8888_REV; + break; case HAL_PIXEL_FORMAT_RGBX_8888: case HAL_PIXEL_FORMAT_RGB_888: case HAL_PIXEL_FORMAT_RGBA_5551: |