Stefan Dösinger : ddraw: Forward the DDSCAPS2_TEXTUREMANAGE flag to wined3d.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jan 8 14:44:19 CST 2007
Module: wine
Branch: master
Commit: 4e8e47fc6cdaa173a8864f2d8c5744e3f69155a8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4e8e47fc6cdaa173a8864f2d8c5744e3f69155a8
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Sat Jan 6 18:27:46 2007 +0100
ddraw: Forward the DDSCAPS2_TEXTUREMANAGE flag to wined3d.
---
dlls/ddraw/ddraw.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c
index 8b80586..bb7243d 100644
--- a/dlls/ddraw/ddraw.c
+++ b/dlls/ddraw/ddraw.c
@@ -1826,6 +1826,10 @@ IDirectDrawImpl_CreateNewSurface(IDirect
{
Pool = WINED3DPOOL_SYSTEMMEM;
}
+ else if(pDDSD->ddsCaps.dwCaps2 & DDSCAPS2_TEXTUREMANAGE)
+ {
+ Pool = WINED3DPOOL_MANAGED;
+ }
Format = PixelFormat_DD2WineD3D(&pDDSD->u4.ddpfPixelFormat);
if(Format == WINED3DFMT_UNKNOWN)
More information about the wine-cvs
mailing list