forked from enlightenment/efl
evas/evas_gl - fixed to release magic field and it's data type
SVN revision: 60387
This commit is contained in:
parent
14e66e3fb8
commit
a5537f4193
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
struct _Evas_GL
|
struct _Evas_GL
|
||||||
{
|
{
|
||||||
int magic;
|
DATA32 magic;
|
||||||
Evas *evas;
|
Evas *evas;
|
||||||
|
|
||||||
Eina_List *contexts;
|
Eina_List *contexts;
|
||||||
|
@ -56,8 +56,8 @@ evas_gl_free(Evas_GL *evas_gl)
|
||||||
while (evas_gl->contexts)
|
while (evas_gl->contexts)
|
||||||
evas_gl_context_destroy(evas_gl, evas_gl->contexts->data);
|
evas_gl_context_destroy(evas_gl, evas_gl->contexts->data);
|
||||||
|
|
||||||
|
evas_gl->magic = 0;
|
||||||
free(evas_gl);
|
free(evas_gl);
|
||||||
evas_gl = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI Evas_GL_Surface *
|
EAPI Evas_GL_Surface *
|
||||||
|
|
Loading…
Reference in New Issue