mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 21:40:20 +01:00
egl/android: fix error in droid_add_configs_for_visuals()
This was some kind of leftover in commitacd35c8and format_count array variable (declared in outer scope) should be used instead. Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Fixes:acd35c8758("egl/android: tweak droid_add_configs_for_visuals()") Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
74d145f4a8
commit
3d48353e29
1 changed files with 0 additions and 2 deletions
|
|
@ -787,8 +787,6 @@ droid_add_configs_for_visuals(_EGLDriver *drv, _EGLDisplay *dpy)
|
|||
continue;
|
||||
|
||||
for (j = 0; j < ARRAY_SIZE(visuals); j++) {
|
||||
int format_count = 0;
|
||||
|
||||
config_attrs[1] = visuals[j].format;
|
||||
config_attrs[3] = visuals[j].format;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue