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;
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user