mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
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:77b440e42d("mesa: Add new functions and enums required by GL_ARB_sample_shading") Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> (cherry picked from commitb08d718703)
This commit is contained in:
parent
87c9aaa1d5
commit
398477a30d
1 changed files with 5 additions and 0 deletions
|
|
@ -1220,6 +1220,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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue