aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/evas/src/lib/canvas/evas_gl.c
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2011-06-16 11:12:40 +0000
committerChunEon Park <hermet@hermet.pe.kr>2011-06-16 11:12:40 +0000
commita5537f4193b6122503584052d68c5935fa4f31b8 (patch)
treed269c0a329001548ee5609ef23fd48b950858832 /legacy/evas/src/lib/canvas/evas_gl.c
parentevas/canvas - ok. it works fine. modified to use the standard computation aga... (diff)
downloadefl-a5537f4193b6122503584052d68c5935fa4f31b8.tar.gz
evas/evas_gl - fixed to release magic field and it's data type
SVN revision: 60387
Diffstat (limited to 'legacy/evas/src/lib/canvas/evas_gl.c')
-rw-r--r--legacy/evas/src/lib/canvas/evas_gl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_gl.c b/legacy/evas/src/lib/canvas/evas_gl.c
index 39efd3eb52..7850939e35 100644
--- a/legacy/evas/src/lib/canvas/evas_gl.c
+++ b/legacy/evas/src/lib/canvas/evas_gl.c
@@ -5,7 +5,7 @@
struct _Evas_GL
{
- int magic;
+ DATA32 magic;
Evas *evas;
Eina_List *contexts;
@@ -56,8 +56,8 @@ evas_gl_free(Evas_GL *evas_gl)
while (evas_gl->contexts)
evas_gl_context_destroy(evas_gl, evas_gl->contexts->data);
+ evas_gl->magic = 0;
free(evas_gl);
- evas_gl = NULL;
}
EAPI Evas_GL_Surface *