summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_gl.c')
-rw-r--r--src/lib/evas/canvas/evas_gl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/evas/canvas/evas_gl.c b/src/lib/evas/canvas/evas_gl.c
index 7e9c4e7..5a71f12 100644
--- a/src/lib/evas/canvas/evas_gl.c
+++ b/src/lib/evas/canvas/evas_gl.c
@@ -143,13 +143,13 @@ evas_gl_new(Evas *e)
143 if (!evas_gl) return NULL; 143 if (!evas_gl) return NULL;
144 144
145 evas_gl->magic = MAGIC_EVAS_GL; 145 evas_gl->magic = MAGIC_EVAS_GL;
146 evas_gl->evas = eo_data_ref(e, EVAS_CANVAS_CLASS); 146 evas_gl->evas = efl_data_ref(e, EVAS_CANVAS_CLASS);
147 LKI(evas_gl->lck); 147 LKI(evas_gl->lck);
148 148
149 if (!evas_gl->evas->engine.func->gl_context_create) 149 if (!evas_gl->evas->engine.func->gl_context_create)
150 { 150 {
151 ERR("Evas GL engine not available."); 151 ERR("Evas GL engine not available.");
152 eo_data_unref(e, evas_gl->evas); 152 efl_data_unref(e, evas_gl->evas);
153 free(evas_gl); 153 free(evas_gl);
154 return NULL; 154 return NULL;
155 } 155 }
@@ -158,7 +158,7 @@ evas_gl_new(Evas *e)
158 if (eina_tls_new(&(evas_gl->resource_key)) == EINA_FALSE) 158 if (eina_tls_new(&(evas_gl->resource_key)) == EINA_FALSE)
159 { 159 {
160 ERR("Error creating tls key"); 160 ERR("Error creating tls key");
161 eo_data_unref(e, evas_gl->evas); 161 efl_data_unref(e, evas_gl->evas);
162 free(evas_gl); 162 free(evas_gl);
163 return NULL; 163 return NULL;
164 } 164 }
@@ -189,7 +189,7 @@ evas_gl_free(Evas_GL *evas_gl)
189 if (_current_evas_gl_key && (evas_gl == eina_tls_get(_current_evas_gl_key))) 189 if (_current_evas_gl_key && (evas_gl == eina_tls_get(_current_evas_gl_key)))
190 eina_tls_set(_current_evas_gl_key, NULL); 190 eina_tls_set(_current_evas_gl_key, NULL);
191 191
192 eo_data_unref(evas_gl->evas->evas, evas_gl->evas); 192 efl_data_unref(evas_gl->evas->evas, evas_gl->evas);
193 evas_gl->magic = 0; 193 evas_gl->magic = 0;
194 LKD(evas_gl->lck); 194 LKD(evas_gl->lck);
195 free(evas_gl); 195 free(evas_gl);