aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/depth.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-09-03 14:31:44 -0400
committerIlia Mirkin <[email protected]>2016-09-06 22:45:44 -0400
commitc42acd93d47452eec492400d1f3e7c66dd9bb672 (patch)
treef6fd929233ac0998462f89afbb20077af964c38e /src/mesa/main/depth.c
parentf654b4983a8411ada20258f8095b3bc5543914c1 (diff)
mesa/formatquery: limit ES target support, fix core context support
First off, as late as ES 3.2, GetInternalformat only supports RENDERBUFFER and 2DMS(_ARRAY) targets. Secondly, the _mesa_has_ext helpers are very accurate... a little too accurate, some might say. If we only show an extension in compat profiles because core profiles have the functionality guaranteed, they will return false. Fix these to either check for a core profile explicitly, or to a different-but-identical extension available in core profile. Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Matteo Bruni <[email protected]> Tested-by: Matteo Bruni <[email protected]> Cc: [email protected]
Diffstat (limited to 'src/mesa/main/depth.c')
0 files changed, 0 insertions, 0 deletions