summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r--src/mesa/main/get.c5
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);