wined3d: The drawable is a valid location for offscreen textures when "AlwaysOffscreen" is disabled.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2016-11-23 14:30:28 +01:00 committed by Alexandre Julliard
parent b515f28007
commit 1a02c676fb
1 changed files with 1 additions and 1 deletions

View File

@ -1364,7 +1364,7 @@ BOOL wined3d_texture_prepare_location(struct wined3d_texture *texture, unsigned
return TRUE;
case WINED3D_LOCATION_DRAWABLE:
if (!texture->swapchain)
if (!texture->swapchain && wined3d_settings.always_offscreen)
ERR("Texture %p does not have a drawable.\n", texture);
return TRUE;