wined3d: Allow blits from drawable location when loading renderbuffer locations.
Fixes a regression introduced by fb6b3cc872
.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d2e89d0b99
commit
c114746f6f
|
@ -2358,6 +2358,10 @@ BOOL texture2d_load_renderbuffer(struct wined3d_texture *texture, unsigned int s
|
|||
src_location = WINED3D_LOCATION_RB_RESOLVED;
|
||||
else if (locations & 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. */
|
||||
src_location = WINED3D_LOCATION_TEXTURE_RGB;
|
||||
|
||||
|
|
Loading…
Reference in New Issue