Commit c114746f authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Allow blits from drawable location when loading renderbuffer locations.

Fixes a regression introduced by fb6b3cc8. Signed-off-by: 's avatarJózef Kucia <jkucia@codeweavers.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent d2e89d0b
...@@ -2358,6 +2358,10 @@ BOOL texture2d_load_renderbuffer(struct wined3d_texture *texture, unsigned int s ...@@ -2358,6 +2358,10 @@ BOOL texture2d_load_renderbuffer(struct wined3d_texture *texture, unsigned int s
src_location = WINED3D_LOCATION_RB_RESOLVED; src_location = WINED3D_LOCATION_RB_RESOLVED;
else if (locations & WINED3D_LOCATION_TEXTURE_SRGB) else if (locations & WINED3D_LOCATION_TEXTURE_SRGB)
src_location = WINED3D_LOCATION_TEXTURE_SRGB; src_location = WINED3D_LOCATION_TEXTURE_SRGB;
else if (locations & WINED3D_LOCATION_TEXTURE_RGB)
src_location = WINED3D_LOCATION_TEXTURE_RGB;
else if (locations & WINED3D_LOCATION_DRAWABLE)
src_location = WINED3D_LOCATION_DRAWABLE;
else /* texture2d_blt_fbo() will load the source location if necessary. */ else /* texture2d_blt_fbo() will load the source location if necessary. */
src_location = WINED3D_LOCATION_TEXTURE_RGB; src_location = WINED3D_LOCATION_TEXTURE_RGB;
......
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