diff options
author | Erik Faye-Lund <[email protected]> | 2018-11-16 11:25:17 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2018-12-03 18:16:44 +0100 |
commit | d97293998605003a89bd772f101254db302672f2 (patch) | |
tree | 577e6840a5b507a86b3cf890aecdab2e5c55ec09 /src/mapi | |
parent | 3629ee025c8e88692118272f270e948750820c47 (diff) |
mesa/main: do not allow sRGB texture enums before gles3
ctx->Extensions.EXT_texture_sRGB is set regardless of the API that's
used, so checking for those direcly will always allow the enums from
this extensions when they are supported by the driver.
There's no extension adding support for this on OpenGL ES before
version 3.0, so let's tighten the check.
Signed-off-by: Erik Faye-Lund <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi')
0 files changed, 0 insertions, 0 deletions