Module: Mesa
Branch: gles3
Commit: e0a9ebc6fab28c08ca2a72913abf2fdfa41d8d79
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0a9ebc6fab28c08ca2a72913abf2fdfa41d8d79

Author: Chad Versace <[email protected]>
Date:   Wed Nov 21 09:28:36 2012 -0800

i965: Bump maximum supported ES2 context version to 3.0

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 <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Signed-off-by: Chad Versace <[email protected]>

---

 src/mesa/drivers/dri/i965/brw_context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_context.c 
b/src/mesa/drivers/dri/i965/brw_context.c
index 13d5c31..b9aae82 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -108,7 +108,7 @@ brwCreateContext(int api,
       max_supported_version = 11;
       break;
    case API_OPENGLES2:
-      max_supported_version = 20;
+      max_supported_version = supports_gl30 ? 30 : 20;
       break;
    case API_OPENGL_CORE:
       max_supported_version = supports_gl30 ? 31 : 0;

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to