From: Ian Romanick Date: Fri, 22 Feb 2013 21:55:44 +0000 (-0800) Subject: i965: Enable OpenGL ES 3.0 on Sandy Bridge X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ae6864f0dbec33270c83c4181a8182139662d0f;p=mesa.git i965: Enable OpenGL ES 3.0 on Sandy Bridge Regardless of what we put in the screen structure, all of the extensions that compute_version_es2 checks are present and 3.0 will be exposed anyway. NOTE: This is a candidate for the 9.1 branch. Signed-off-by: Ian Romanick --- diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c index d223a0b7a10..277b1330884 100644 --- a/src/mesa/drivers/dri/intel/intel_screen.c +++ b/src/mesa/drivers/dri/intel/intel_screen.c @@ -1174,7 +1174,7 @@ set_max_gl_versions(struct intel_screen *screen) screen->max_gl_core_version = 31; screen->max_gl_compat_version = 30; screen->max_gl_es1_version = 11; - screen->max_gl_es2_version = 20; + screen->max_gl_es2_version = 30; break; case 5: case 4: