diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index c1803a4de11..426d697c22e 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -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;