Henri Verbeet : d3d8: Add a separate function for cube texture initialization.