mesa: Add a default QueryInternalFormat() function for drivers
authorEduardo Lima Mitev <elima@igalia.com>
Tue, 27 Oct 2015 14:58:59 +0000 (15:58 +0100)
committerEduardo Lima Mitev <elima@igalia.com>
Thu, 3 Mar 2016 14:14:05 +0000 (15:14 +0100)
commit45054f9702bd07cd293c1f6c1317eae9530cc4da
treeb5a5ed1fed0f9e339280d1faff1552e21d0c2985
parent93d30c3de95a1d373285cd7353343817c23dbb64
mesa: Add a default QueryInternalFormat() function for drivers

This is a fallback function for drivers not implementing
ARB_internalformat_query2.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/drivers/common/driverfuncs.c
src/mesa/main/formatquery.c
src/mesa/main/formatquery.h