mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
ddraw: Forward the DDSCAPS2_TEXTUREMANAGE flag to wined3d.
This commit is contained in:
parent
478d22f742
commit
4e8e47fc6c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user