Henri Verbeet : wined3d: Introduce cubetexture_init() to handle most of the cube texture initialization.