Broken WIP refactoring texture alloc