mesa: remove misleading gles checks for formatquery
authorRoland Scheidegger <sroland@vmware.com>
Sat, 27 Jan 2018 00:12:52 +0000 (01:12 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 30 Jan 2018 00:28:47 +0000 (01:28 +0100)
commit09dc4f9012b12c51972e32db653f507448b29490
treec29b9ff1649fa3513b49441b39d19100bcd7bfe9
parente7ecc5e1600a9463f3f2fff9a9cdaa35c2f68c04
mesa: remove misleading gles checks for formatquery

Testing for gles there is just confusing - this is about target being
supported, if it was valid at all was already determined earlier
(in _legal_parameters). It didn't make sense at all in any case, since
it would only have said false there for gles for 2d but not 2d arrays etc.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
src/mesa/main/formatquery.c