Henri Verbeet : wined3d: Use the texture dimension helpers in surface_create_dib_section().