Henri Verbeet : wined3d: Convert textureState to a bitmap in struct SAVEDSTATES.