i965: Enable OpenGL ES 3.0 on Sandy Bridge
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 22 Feb 2013 21:55:44 +0000 (13:55 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 22 Feb 2013 21:57:44 +0000 (13:57 -0800)
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 <ian.d.romanick@intel.com>
src/mesa/drivers/dri/intel/intel_screen.c

index d223a0b7a10a9fb6ce55de0b61492e863827a91a..277b1330884fe1073db385d20121e2897cb872d9 100644 (file)
@@ -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: