forked from enlightenment/efl
Fix evas_gl current_context update issue when evas_gl context is deleted.
SVN revision: 75490
This commit is contained in:
parent
f4d20be0c2
commit
d1eea33285
|
@ -971,3 +971,7 @@
|
|||
|
||||
* Removed unnessesary lines which causes the gles resource leak and
|
||||
corruption.
|
||||
|
||||
2012-08-21 Sung W. Park (sung_)
|
||||
|
||||
* Fix evas_gl current_context update issue when evas_gl context is deleted.
|
||||
|
|
|
@ -28,6 +28,7 @@ Fixes:
|
|||
* Handle proxy with the right context.
|
||||
* Force proxied object to stay active to keep track of change in them.
|
||||
* Fix evas_gl's internal resource surface bug when evas' window is deleted/recreated.
|
||||
* Fix evas_gl current_context update issue when evas_gl context is deleted.
|
||||
|
||||
Removal:
|
||||
* Remove EVAS_FRAME_QUEUING, EVAS_SLI, METRIC_CACHE and WORD_CACHE.
|
||||
|
|
|
@ -3848,6 +3848,9 @@ eng_gl_context_destroy(void *data, void *context)
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (current_evgl_ctx == ctx)
|
||||
current_evgl_ctx = NULL;
|
||||
|
||||
free(ctx);
|
||||
context = NULL;
|
||||
|
||||
|
|
|
@ -2319,6 +2319,9 @@ eng_gl_context_destroy(void *data, void *context)
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (current_evgl_ctx == ctx)
|
||||
current_evgl_ctx = NULL;
|
||||
|
||||
free(ctx);
|
||||
context = NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue