Henri Verbeet : wined3d: Properly calculate GL_TEXTURE_MAX_ANISOTROPY_EXT.