This was some kind of leftover in commit
acd35c8 and format_count
array variable (declared in outer scope) should be used instead.
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Fixes: acd35c8758dc73240903 ("egl/android: tweak droid_add_configs_for_visuals()")
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
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;