some initial EGL 1.2 work
[mesa.git] / src / egl / main / eglcontext.h
index 4b0eaf3107d3e340101f4fad740cd9a810370b17..82bfde151f3b520a35d09652d725a616472d2c69 100644 (file)
@@ -22,6 +22,9 @@ struct _egl_context
 
    EGLBoolean IsBound;
    EGLBoolean DeletePending;
+#ifdef EGL_VERSION_1_2
+   EGLint ClientAPI;  /* Either EGL_OPENGL_ES_API or EGL_OPENVG_API */
+#endif /* EGL_VERSION_1_2 */
 };