In the DRI2 back-end this will get the same API as GLES 2.0.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
api = __DRI_API_GLES;
break;
case 2:
+ case 3:
api = __DRI_API_GLES2;
break;
default:
bit = EGL_OPENGL_ES_BIT;
break;
case 2:
+ case 3:
bit = EGL_OPENGL_ES2_BIT;
break;
default:
break;
case 2:
+ if (ctx->ClientMinorVersion > 0)
+ err = EGL_BAD_MATCH;
+ break;
+
+ case 3:
default:
/* Don't put additional version checks here. We don't know that
- * there won't be versions > 2.0.
+ * there won't be versions > 3.0.
*/
break;
}