ddraw: Forward the DDSCAPS2_TEXTUREMANAGE flag to wined3d.

This commit is contained in:
Stefan Dösinger 2007-01-06 18:27:46 +01:00 committed by Alexandre Julliard
parent 478d22f742
commit 4e8e47fc6c

View File

@ -1826,6 +1826,10 @@ IDirectDrawImpl_CreateNewSurface(IDirectDrawImpl *This,
{
Pool = WINED3DPOOL_SYSTEMMEM;
}
else if(pDDSD->ddsCaps.dwCaps2 & DDSCAPS2_TEXTUREMANAGE)
{
Pool = WINED3DPOOL_MANAGED;
}
Format = PixelFormat_DD2WineD3D(&pDDSD->u4.ddpfPixelFormat);
if(Format == WINED3DFMT_UNKNOWN)