diff options
author | Erik Faye-Lund <[email protected]> | 2018-11-16 11:30:34 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2018-12-03 18:16:44 +0100 |
commit | c4136ed5cc07a73c01d24a1c17ebe71e2690aef7 (patch) | |
tree | a89022cfda038e8f88cb0a3802264e8d29aa833c /src/mesa/main/context.h | |
parent | d97293998605003a89bd772f101254db302672f2 (diff) |
mesa/main: do not allow EXT_texture_sRGB_R8 enums before gles3
ctx->Extensions.EXT_texture_sRGB_R8 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: Gert Wollny <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/context.h')
0 files changed, 0 insertions, 0 deletions