projects
/
platform
/
adaptation
/
emulator
/
emulator-yagl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73cf427
)
YaGL: Workaround for libevas gles version check
28/45328/1
author
Vasiliy Ulyanov
<v.ulyanov@samsung.com>
Thu, 28 May 2015 11:03:23 +0000
(14:03 +0300)
committer
jinhyung.jo
<jinhyung.jo@samsung.com>
Tue, 4 Aug 2015 08:26:55 +0000
(17:26 +0900)
Change-Id: Ieac95a502e98b516e1870d5ea38513931a19881b
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
GLESv2/yagl_gles2_context.c
patch
|
blob
|
history
diff --git
a/GLESv2/yagl_gles2_context.c
b/GLESv2/yagl_gles2_context.c
index 515d5f2193d1c2e29edb8440bcc71a897a9a526a..9c667bf7f7f0d463ba6d144d37bbf03105ca8f1d 100644
(file)
--- a/
GLESv2/yagl_gles2_context.c
+++ b/
GLESv2/yagl_gles2_context.c
@@
-176,7
+176,13
@@
static const GLchar
switch (name) {
case GL_VERSION:
- str = "OpenGL ES 2.0";
+ 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";
+ }
break;
case GL_RENDERER:
str = "YaGL GLESv2";