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