Properly clear all cached data from texture manager.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>