summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_gl.c
diff options
context:
space:
mode:
authormythri.venugopal <mythri.venugopal@samsung.com>2015-03-05 15:36:35 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-03-16 15:56:43 +0900
commit4d1a45627fc28de0c7ebf099a8606f6e52177448 (patch)
treea5ca3c4245bc818aa4f23299c8dc5a421a9a05d6 /src/lib/evas/canvas/evas_gl.c
parentbb134a5cc326b82a1457f97341a5e053a9ea9efb (diff)
Evas GL: Add support for Evas GL 3.0
Summary: This should enable applications to use GLES 3.0 through evas gl. Todo: Fix indirect rendering issue occuring because texture objects cannot be shared between different version of GLES contexts. Todo: extension pointers need to be updated for GLES 3.0 Reviewers: wonsik, spacegrapher, jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2017 @feature
Diffstat (limited to 'src/lib/evas/canvas/evas_gl.c')
-rw-r--r--src/lib/evas/canvas/evas_gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_gl.c b/src/lib/evas/canvas/evas_gl.c
index 3373bb4..d7ec99e 100644
--- a/src/lib/evas/canvas/evas_gl.c
+++ b/src/lib/evas/canvas/evas_gl.c
@@ -337,7 +337,7 @@ evas_gl_context_version_create(Evas_GL *evas_gl, Evas_GL_Context *share_ctx,
337 return NULL; 337 return NULL;
338 MAGIC_CHECK_END(); 338 MAGIC_CHECK_END();
339 339
340 if ((version != EVAS_GL_GLES_1_X) && (version != EVAS_GL_GLES_2_X)) 340 if ((version < EVAS_GL_GLES_1_X) || (version > EVAS_GL_GLES_3_X))
341 { 341 {
342 ERR("Can not create an OpenGL-ES %d.x context (not supported).", 342 ERR("Can not create an OpenGL-ES %d.x context (not supported).",
343 (int) version); 343 (int) version);