diff options
author | Erik Faye-Lund <[email protected]> | 2018-11-15 17:43:36 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2018-12-03 18:16:44 +0100 |
commit | 510b6424607b1e8af96162f6d571de34beb89e86 (patch) | |
tree | 33f29c86ac1d7b21db19eceeb0cb6ffb67ff1ac1 /src/mesa/vbo/vbo_noop.c | |
parent | 59690bf0a31300febafd84868781990db0fa215a (diff) |
mesa/main: do not allow rg-textures enums before gles3
EXT_packed_float isn't supported on OpenGL ES, we shouldn't allow
these enums there, before OpenGL ES 3.0 which also introduce support
for these enums.
Since this check is repeated a lot, let's make a helper for this.
Signed-off-by: Erik Faye-Lund <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_noop.c')
0 files changed, 0 insertions, 0 deletions