I think there's code that does that for render targets. It would be good if those are combined, or the render target flag adjustment just removed if it is not needed any longer
-----Original Message----- From: wine-patches-bounces@winehq.org [mailto:wine-patches- bounces@winehq.org] On Behalf Of Alexander Dorofeyev Sent: Tuesday, July 08, 2008 3:52 PM To: wine-patches@winehq.org Subject: [PATCH 1/4] ddraw: Force surfaces without memory flags to video memory on creation.
This fixes some missing textures in Forsaken, where renderer expects to see that texture is in video memory and gets confused otherwise.
Tested in patch 2/4.
dlls/ddraw/ddraw.c | 9 ++++++--- dlls/ddraw/texture.c | 6 ------ 2 files changed, 6 insertions(+), 9 deletions(-)