Rebase against ef36a25aec33670cd2099e4bce379bd6e2ac42a0.

This commit is contained in:
Sebastian Lackner
2016-04-22 18:10:42 +02:00
parent 60387bee03
commit 1051d1524c
6 changed files with 5 additions and 97 deletions

View File

@@ -180,7 +180,7 @@ index 77a3d44..ca84719 100644
+ if ((desc->ddsCaps.dwCaps & DDSCAPS_3DDEVICE) &&
+ SUCCEEDED(hr = wined3d_check_device_format(ddraw->wined3d, WINED3DADAPTER_DEFAULT,
+ WINED3D_DEVICE_TYPE_HAL, mode.format_id, WINED3DUSAGE_RENDERTARGET,
+ WINED3D_RTYPE_SURFACE, wined3d_desc.format)))
+ WINED3D_RTYPE_TEXTURE_2D, wined3d_desc.format)))
+ {
+ FIXME("Application wants to create rendering target in system memory, using video memory instead\n");
+ wined3d_desc.usage |= WINED3DUSAGE_RENDERTARGET;