+static const EGLint contextAttribs[] = {
+#ifdef CON_GLES2
+ EGL_CONTEXT_CLIENT_VERSION, 2,
+#elif CON_GL3
+ EGL_CONTEXT_MAJOR_VERSION_KHR, 3,
+ EGL_CONTEXT_MINOR_VERSION_KHR, 0,
+ EGL_CONTEXT_FLAGS_KHR, EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR,
+#endif
+ EGL_NONE
+};