fix texture cache compile error.