Commit 4f027e62 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Properly handle back-buffers in context_get_rt_size().

parent bedb40e5
......@@ -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;
......
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