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

ddraw: Create managed pool textures.

The surfaces are already in WINED3D_POOL_MANAGED.
parent 8da09ba1
...@@ -5607,9 +5607,9 @@ HRESULT ddraw_surface_create_texture(struct ddraw_surface *surface, DWORD surfac ...@@ -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;
......
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