i965: Complete 'expose RGBA visuals only on Android'
authorMario Kleiner <mario.kleiner.de@gmail.com>
Fri, 6 Oct 2017 16:11:31 +0000 (18:11 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 13 Oct 2017 11:56:13 +0000 (12:56 +0100)
commit556037f131d0873456d2291c575643572ad28e01
treeb5f4bfd89c24221b3ed076e7eee9557872ca25ce
parentdf3a43018020c16c1dfa88a76c9a84c9fb85be38
i965: Complete 'expose RGBA visuals only on Android'

Commit 731ba6924a2ed6cdf47a78fd637a91a19ddcf9ed
"expose RGBA visuals only on Android" replaced
ARRAY_SIZE(formats) by num_formats, but there are
3 loops which add configs, and only one was updated
to num_formats.

Also update loops for configs with accumulation buffer
and multisample configs.

Fixes: 731ba6924a2 "i965: expose RGBA visuals only on Android"
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/drivers/dri/i965/intel_screen.c