Revert "YaGL: Workaround for libevas gles version check" 45/45645/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150810.080518 accepted/tizen/tv/20150810.080541 accepted/tizen/wearable/20150810.080559 submit/tizen/20150810.071326 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
authorVasiliy Ulyanov <v.ulyanov@samsung.com>
Fri, 7 Aug 2015 15:52:28 +0000 (18:52 +0300)
committerjinhyung.jo <jinhyung.jo@samsung.com>
Mon, 10 Aug 2015 06:32:39 +0000 (15:32 +0900)
This workaround appears no longer needed since the corresponding
fix has been applied to libevas. Besides it seems to cause
problems with cairo.

This reverts commit 1a1d13934f4bad7b779cd6093c0f00cc9f36ec03.

Change-Id: Iad9af1b3bcd6c2756963ebd0e10e97879245d496
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
GLESv2/yagl_gles2_context.c

index 9c667bf7f7f0d463ba6d144d37bbf03105ca8f1d..515d5f2193d1c2e29edb8440bcc71a897a9a526a 100644 (file)
@@ -176,13 +176,7 @@ static const GLchar
 
     switch (name) {
     case GL_VERSION:
-        if (yagl_get_host_gl_version() >= yagl_gl_3_1_es3) {
-            /* Workaround for libevas gles version checking: report 3.0
-             * version if the host supports it. */
-            str = "OpenGL ES 3.0";
-        } else {
-            str = "OpenGL ES 2.0";
-        }
+        str = "OpenGL ES 2.0";
         break;
     case GL_RENDERER:
         str = "YaGL GLESv2";