ddraw: Create managed pool textures.
The surfaces are already in WINED3D_POOL_MANAGED.
This commit is contained in:
parent
8da09ba196
commit
b88daee3bc
@ -5607,9 +5607,9 @@ HRESULT ddraw_surface_create_texture(struct ddraw_surface *surface, DWORD surfac
|
|||||||
else
|
else
|
||||||
layers = 1;
|
layers = 1;
|
||||||
|
|
||||||
/* DDSCAPS_SYSTEMMEMORY textures are in WINED3D_POOL_SYSTEM_MEM.
|
if (desc->ddsCaps.dwCaps2 & DDSCAPS2_TEXTUREMANAGE)
|
||||||
* Should I forward the MANAGED cap to the managed pool? */
|
pool = WINED3D_POOL_MANAGED;
|
||||||
if (desc->ddsCaps.dwCaps & DDSCAPS_SYSTEMMEMORY)
|
else if (desc->ddsCaps.dwCaps & DDSCAPS_SYSTEMMEMORY)
|
||||||
pool = WINED3D_POOL_SYSTEM_MEM;
|
pool = WINED3D_POOL_SYSTEM_MEM;
|
||||||
else
|
else
|
||||||
pool = WINED3D_POOL_DEFAULT;
|
pool = WINED3D_POOL_DEFAULT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user