Commit 4e8e47fc authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

ddraw: Forward the DDSCAPS2_TEXTUREMANAGE flag to wined3d.

parent 478d22f7
...@@ -1826,6 +1826,10 @@ IDirectDrawImpl_CreateNewSurface(IDirectDrawImpl *This, ...@@ -1826,6 +1826,10 @@ IDirectDrawImpl_CreateNewSurface(IDirectDrawImpl *This,
{ {
Pool = WINED3DPOOL_SYSTEMMEM; Pool = WINED3DPOOL_SYSTEMMEM;
} }
else if(pDDSD->ddsCaps.dwCaps2 & DDSCAPS2_TEXTUREMANAGE)
{
Pool = WINED3DPOOL_MANAGED;
}
Format = PixelFormat_DD2WineD3D(&pDDSD->u4.ddpfPixelFormat); Format = PixelFormat_DD2WineD3D(&pDDSD->u4.ddpfPixelFormat);
if(Format == WINED3DFMT_UNKNOWN) if(Format == WINED3DFMT_UNKNOWN)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment