diff options
author | Erik Faye-Lund <[email protected]> | 2018-11-16 09:52:49 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2018-12-03 18:16:44 +0100 |
commit | 19eb0bf28fa1d6742bfb9d7b920fe5ce5254e251 (patch) | |
tree | 4000f4ee58af621b3d4276b914da59038102112a /build-support | |
parent | 2dfcaf7554cab0aae32372dc4a77fdb3ba74173d (diff) |
mesa/main: do not allow depth-texture enums on gles1
ctx->Extensions.ARB_depth_texture 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.
So let's instead check for both ARB_depth_texture and OES_depth_texture,
so we support depth textures on OpenGL and OpenGL ES 2.0+. There's no
extension enabling depth-textures for OpenGL ES 1.x, so we shouldn't
allow those enums there.
This fixes oes_packed_depth_stencil-depth-stencil-texture_gles1 on i965
Signed-off-by: Erik Faye-Lund <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'build-support')
0 files changed, 0 insertions, 0 deletions