summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_gl.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-05-02 14:17:19 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-05-02 14:17:19 +0900
commitb64a2994b3b277cbe7fce17d7ee275fd0d78c925 (patch)
tree3fd83519240da48e2355dfc6caa2415a2a77e282 /src/lib/evas/canvas/evas_gl.c
parentaf401b408343b57ced7f98eaded1e4c59337d0aa (diff)
Revert "Efl: replace eo_data_get for objects data referencing."
This reverts commit 654a3f5f94c2464b8563d27da94a78398c112962.
Diffstat (limited to 'src/lib/evas/canvas/evas_gl.c')
-rw-r--r--src/lib/evas/canvas/evas_gl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_gl.c b/src/lib/evas/canvas/evas_gl.c
index 14a4dd6..faf5280 100644
--- a/src/lib/evas/canvas/evas_gl.c
+++ b/src/lib/evas/canvas/evas_gl.c
@@ -35,7 +35,7 @@ evas_gl_new(Evas *e)
35 if (!evas_gl) return NULL; 35 if (!evas_gl) return NULL;
36 36
37 evas_gl->magic = MAGIC_EVAS_GL; 37 evas_gl->magic = MAGIC_EVAS_GL;
38 evas_gl->evas = eo_data_ref(e, EVAS_CLASS); 38 evas_gl->evas = eo_data_get(e, EVAS_CLASS);
39 39
40 if (!evas_gl->evas->engine.func->gl_context_create) 40 if (!evas_gl->evas->engine.func->gl_context_create)
41 { 41 {
@@ -63,7 +63,6 @@ evas_gl_free(Evas_GL *evas_gl)
63 while (evas_gl->contexts) 63 while (evas_gl->contexts)
64 evas_gl_context_destroy(evas_gl, evas_gl->contexts->data); 64 evas_gl_context_destroy(evas_gl, evas_gl->contexts->data);
65 65
66 eo_data_unref(evas_gl->evas->evas, evas_gl->evas);
67 evas_gl->magic = 0; 66 evas_gl->magic = 0;
68 free(evas_gl); 67 free(evas_gl);
69} 68}