texture buffer managment problems