wined3d: Properly handle back-buffers in context_get_rt_size().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bedb40e5af
commit
4f027e627e
|
@ -2142,7 +2142,7 @@ static void context_get_rt_size(const struct wined3d_context *context, SIZE *siz
|
|||
const struct wined3d_texture *rt = context->current_rt.texture;
|
||||
unsigned int level;
|
||||
|
||||
if (rt->swapchain && rt->swapchain->front_buffer == rt)
|
||||
if (rt->swapchain)
|
||||
{
|
||||
RECT window_size;
|
||||
|
||||
|
|
Loading…
Reference in New Issue