diff options
author | Erik Faye-Lund <[email protected]> | 2018-11-15 17:02:32 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2018-12-03 18:16:44 +0100 |
commit | 83db9d3e3a6db6ea21a8c09637a133baf9b4ecac (patch) | |
tree | e07af470510941ce14ca45438ec88a668bcff32c /include | |
parent | 3bbd543b6ef1a59e5edb940915d822514a43e467 (diff) |
mesa/main: do not allow ARB_depth_buffer_float enums before gles3
Floating-point depth buffers are only supported on OpenGL 3.0, OpenGL ES
3.0, or if ARB_depth_buffer_float is supported. Because we checked a
driver capability rather than using an extension-check helper, we ended
up incorrectly allowing this on OpenGL ES 1.x and 2.x.
Since this logic is repeated, let's make a helper for it.
Signed-off-by: Erik Faye-Lund <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions