[PATCH 3/5] wined3d: Get rid of surface_set_dirty().

Henri Verbeet hverbeet at gmail.com
Mon Nov 25 07:22:36 CST 2013


On 25 November 2013 13:47, Stefan Dösinger <stefandoesinger at gmail.com> wrote:
> Why not something like
>
> if (surface->flags & SFLAG_INSYSMEM)
>     surface_invalidate_location(surface, ~SFLAG_INSYSMEM);
>
> If the surface doesn't have SFLAG_INSYSMEM set already downloading
> texture / framebuffer data to sysmem and re-uploading it won't do
> anything.
>
That's probably ok, but I don't think it should necessarily go into this patch.



More information about the wine-devel mailing list