arb_internalformat_query2: fix internalformat selection for max_layers subtest
The wrong index variable used leads to effectively random results when the GPU doesn't support all of the tested internalformats.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
The wrong index variable used leads to effectively random results when the GPU doesn't support all of the tested internalformats.