https://bugs.winehq.org/show_bug.cgi?id=38879
--- Comment #3 from Henri Verbeet hverbeet@gmail.com --- Note that in principle you can use IDXGIFactory1::IsCurrent() to check when you need to invalidate the cache. (Currently that always returns TRUE on Wine, but it would be the correct way to do this.)