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:
Stefan Schmidt 2014-08-08 14:54:56 +02:00
parent 0f658dc09d
commit 9283575490
1 changed files with 1 additions and 1 deletions

View File

@ -1401,7 +1401,7 @@ evas_gl_common_texture_free(Evas_GL_Texture *tex, Eina_Bool force EINA_UNUSED)
}
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)
eina_rectangle_pool_release(tex->aptt);
tex->aptt = NULL;