forked from enlightenment/efl
evas/gl - +null & less code
This fixes the incorrect operations when evas gl is re-initialized in one same process SVN revision: 74339
This commit is contained in:
parent
29452cf797
commit
843255a175
|
@ -908,3 +908,8 @@
|
||||||
2012-07-24 Ingvaldur Sigurjonsson
|
2012-07-24 Ingvaldur Sigurjonsson
|
||||||
|
|
||||||
* Fix typoe in docs
|
* Fix typoe in docs
|
||||||
|
|
||||||
|
2012-07-24 Hermet (ChunEon Park)
|
||||||
|
|
||||||
|
* Fixed evas_gl resource list have cleared properly when it is released
|
||||||
|
so it would be no problem when it is reinitialized in one same process.
|
||||||
|
|
|
@ -900,11 +900,6 @@ _destroy_internal_glue_resources(void *data)
|
||||||
eglDestroyContext(re->win->egl_disp, rsc->context);
|
eglDestroyContext(re->win->egl_disp, rsc->context);
|
||||||
free(rsc);
|
free(rsc);
|
||||||
}
|
}
|
||||||
eina_list_free(resource_list);
|
|
||||||
LKU(resource_lock);
|
|
||||||
|
|
||||||
// Destroy TLS
|
|
||||||
eina_tls_free(resource_key);
|
|
||||||
#else
|
#else
|
||||||
// GLX
|
// GLX
|
||||||
// Delete the Resources
|
// Delete the Resources
|
||||||
|
@ -917,12 +912,13 @@ _destroy_internal_glue_resources(void *data)
|
||||||
free(rsc);
|
free(rsc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
eina_list_free(resource_list);
|
eina_list_free(resource_list);
|
||||||
|
resource_list = NULL;
|
||||||
LKU(resource_lock);
|
LKU(resource_lock);
|
||||||
|
|
||||||
// Destroy TLS
|
// Destroy TLS
|
||||||
eina_tls_free(resource_key);
|
eina_tls_free(resource_key);
|
||||||
#endif
|
|
||||||
|
|
||||||
// Free the extension strings
|
// Free the extension strings
|
||||||
if (_ext_initted)
|
if (_ext_initted)
|
||||||
|
|
Loading…
Reference in New Issue