---
 src/mesa/main/get.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index e1ebd18..a020643 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -130,6 +130,7 @@ enum value_extra {
    EXTRA_VERSION_32,
    EXTRA_API_GL,
    EXTRA_API_ES2,
+   EXTRA_API_ES3,
    EXTRA_NEW_BUFFERS, 
    EXTRA_NEW_FRAG_CLAMP,
    EXTRA_VALID_DRAW_BUFFER,
@@ -873,6 +874,12 @@ check_extra(struct gl_context *ctx, const char *func, 
const struct value_desc *d
            enabled++;
         }
         break;
+      case EXTRA_API_ES3:
+        if (_mesa_is_gles3(ctx)) {
+           total++;
+           enabled++;
+        }
+        break;
       case EXTRA_API_GL:
         if (_mesa_is_desktop_gl(ctx)) {
            total++;
-- 
1.7.8.6

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to