fix [3119687] [Maps][4.6.0] Force close in street view
The EGLConfig attributes MUST be sorted, because they're used in a binary search. A recent change introduced a bug where 2 of the configs had improperly sorted attributes. Change-Id: I1ac53e4463d62f27125ca9f82ed946e6c98ddba0
This commit is contained in:
parent
e739a5257d
commit
6af358e0a7
@ -996,8 +996,8 @@ static config_pair_t const config_4_attribute_list[] = {
|
||||
{ EGL_GREEN_SIZE, 8 },
|
||||
{ EGL_RED_SIZE, 8 },
|
||||
{ EGL_DEPTH_SIZE, 0 },
|
||||
{ EGL_NATIVE_VISUAL_ID, GGL_PIXEL_FORMAT_RGBA_8888 },
|
||||
{ EGL_CONFIG_ID, 2 },
|
||||
{ EGL_NATIVE_VISUAL_ID, GGL_PIXEL_FORMAT_RGBA_8888 },
|
||||
{ EGL_SURFACE_TYPE, EGL_WINDOW_BIT|EGL_PBUFFER_BIT|EGL_PIXMAP_BIT },
|
||||
};
|
||||
|
||||
@ -1033,8 +1033,8 @@ static config_pair_t const config_7_attribute_list[] = {
|
||||
{ EGL_GREEN_SIZE, 0 },
|
||||
{ EGL_RED_SIZE, 0 },
|
||||
{ EGL_DEPTH_SIZE, 16 },
|
||||
{ EGL_NATIVE_VISUAL_ID, GGL_PIXEL_FORMAT_A_8 },
|
||||
{ EGL_CONFIG_ID, 5 },
|
||||
{ EGL_NATIVE_VISUAL_ID, GGL_PIXEL_FORMAT_A_8 },
|
||||
{ EGL_SURFACE_TYPE, EGL_WINDOW_BIT|EGL_PBUFFER_BIT|EGL_PIXMAP_BIT },
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user