summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_gl.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-09-19 17:44:56 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-10-20 12:16:08 +0900
commitf30f55f9f444522397dbb2b83bce3371af5ea34b (patch)
treec3bf62f6ba9277214ad868a1fb120dd457f16a42 /src/lib/evas/canvas/evas_gl.c
parenta0712e25e188d16744df8e66de72d67ab7518cda (diff)
Evas GL: Fix compilation for EGL/GLES
Configure with --with-opengl=es --enable-egl Fixes runtime link dependencies
Diffstat (limited to 'src/lib/evas/canvas/evas_gl.c')
-rw-r--r--src/lib/evas/canvas/evas_gl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_gl.c b/src/lib/evas/canvas/evas_gl.c
index 456d1be..2eefa1a 100644
--- a/src/lib/evas/canvas/evas_gl.c
+++ b/src/lib/evas/canvas/evas_gl.c
@@ -613,3 +613,11 @@ evas_gl_surface_query(Evas_GL *evas_gl, Evas_GL_Surface *surface, int attribute,
613 return evas_gl->evas->engine.func->gl_surface_query 613 return evas_gl->evas->engine.func->gl_surface_query
614 (evas_gl->evas->engine.data.output, surface->data, attribute, value); 614 (evas_gl->evas->engine.data.output, surface->data, attribute, value);
615} 615}
616
617// Internal function - called from evas_gl_core.c
618EAPI void *
619_evas_gl_native_context_get(Evas_GL_Context *ctx)
620{
621 if (!ctx) return NULL;
622 return ctx->data;
623}