wined3d: Use the system memory pool for the logo surface.
This commit is contained in:
parent
7dcd1d06ef
commit
d760b21ab6
|
@ -944,7 +944,7 @@ static void device_load_logo(struct wined3d_device *device, const char *filename
|
||||||
}
|
}
|
||||||
|
|
||||||
hr = wined3d_surface_create(device, bm.bmWidth, bm.bmHeight, WINED3DFMT_B5G6R5_UNORM, 0, 0,
|
hr = wined3d_surface_create(device, bm.bmWidth, bm.bmHeight, WINED3DFMT_B5G6R5_UNORM, 0, 0,
|
||||||
WINED3D_POOL_DEFAULT, WINED3D_MULTISAMPLE_NONE, 0, WINED3D_SURFACE_TYPE_OPENGL, WINED3D_SURFACE_MAPPABLE,
|
WINED3D_POOL_SYSTEM_MEM, WINED3D_MULTISAMPLE_NONE, 0, WINED3D_SURFACE_TYPE_OPENGL, WINED3D_SURFACE_MAPPABLE,
|
||||||
NULL, &wined3d_null_parent_ops, &device->logo_surface);
|
NULL, &wined3d_null_parent_ops, &device->logo_surface);
|
||||||
if (FAILED(hr))
|
if (FAILED(hr))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue