Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Commit

Permalink
AndroidIA: Add the RGBA8888 and RGBX8888 back to Intel screen config
Browse files Browse the repository at this point in the history
Otherwise the OGLES native app may cause primary screen format mismatch

Signed-off-by: Xu, Randy <randy.xu@intel.com>
  • Loading branch information
txu4 authored and tpalli committed May 17, 2017
1 parent 98b6cfe commit 72d5e38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mesa/drivers/dri/i965/intel_screen.c
Expand Up @@ -1540,6 +1540,8 @@ intel_screen_make_configs(__DRIscreen *dri_screen)
{
static const mesa_format formats[] = {
MESA_FORMAT_B5G6R5_UNORM,
MESA_FORMAT_R8G8B8A8_UNORM,
MESA_FORMAT_R8G8B8X8_UNORM,
MESA_FORMAT_B8G8R8A8_UNORM,
MESA_FORMAT_B8G8R8X8_UNORM
};
Expand Down

0 comments on commit 72d5e38

Please sign in to comment.