forked from enlightenment/efl
evas/gl_common: Use the right list when removing aptt
Another classical copy and paste error. All references but one replaced. CID: 1223502
This commit is contained in:
parent
0f658dc09d
commit
9283575490
|
@ -1401,7 +1401,7 @@ evas_gl_common_texture_free(Evas_GL_Texture *tex, Eina_Bool force EINA_UNUSED)
|
||||||
}
|
}
|
||||||
if (tex->ptt)
|
if (tex->ptt)
|
||||||
{
|
{
|
||||||
tex->ptt->allocations = eina_list_remove(tex->pt->allocations, tex->aptt);
|
tex->ptt->allocations = eina_list_remove(tex->ptt->allocations, tex->aptt);
|
||||||
if (tex->aptt)
|
if (tex->aptt)
|
||||||
eina_rectangle_pool_release(tex->aptt);
|
eina_rectangle_pool_release(tex->aptt);
|
||||||
tex->aptt = NULL;
|
tex->aptt = NULL;
|
||||||
|
|
Loading…
Reference in New Issue