mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue