i965: Bump maximum supported ES2 context version to 3.0
authorChad Versace <chad.versace@linux.intel.com>
Wed, 21 Nov 2012 17:28:36 +0000 (09:28 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 25 Jan 2013 13:30:40 +0000 (08:30 -0500)
Since patch "i965: Validate requested GLES context version in
brwCreateContext", we have been able to create ES 3.0 contexts due to the
max version check.  So...bump the max version.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_screen.c

index 98dd2f3115df34713ef9bd5610e2b4dfc6a2235f..b39bc4636632706e959f497de8aba3df02f97fb8 100644 (file)
@@ -1044,7 +1044,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;
       } else {
          screen->max_gl_core_version = 0;
          screen->max_gl_compat_version = 21;