diff options
author | Brian Paul <[email protected]> | 2018-02-13 09:21:45 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-02-13 10:35:55 -0700 |
commit | b08d718703bc907d9cb99887f90ea80d7e91dc45 (patch) | |
tree | 17b8a6d39cd65b7dbe26c746d25c44a258e0372c /src/mesa/main/get.c | |
parent | e5809788d674f637f14fdd74cbd0c72055256192 (diff) |
mesa: add missing switch case for EXTRA_VERSION_40 in check_extra()
The EXTRA_VERSION_40 predicate is tested as part of
extra_gl40_ARB_sample_shading but there was no switch case for it.
Fixes: 77b440e42d8e7247c2295 ("mesa: Add new functions and enums required
by GL_ARB_sample_shading")
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r-- | src/mesa/main/get.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 218801791e2..57a211856c9 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -1224,6 +1224,11 @@ check_extra(struct gl_context *ctx, const char *func, const struct value_desc *d if (version >= 32) api_found = GL_TRUE; break; + case EXTRA_VERSION_40: + api_check = GL_TRUE; + if (version >= 40) + api_found = GL_TRUE; + break; case EXTRA_NEW_FRAG_CLAMP: if (ctx->NewState & (_NEW_BUFFERS | _NEW_FRAG_CLAMP)) _mesa_update_state(ctx); |