Commit 16e54c80 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Get rid of the WINED3D_SWAP_EFFECT_FLIP fixme in swapchain_gl_present().

I think this works about as well as it's going to. There may be a theoretical issue that GDI draws to the window should end up in the backbuffer after a flip, but I don't think we have tests showing that to actually be the case, and generally speaking I'm not all that worried about it. Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 02dc04bc
......@@ -469,14 +469,7 @@ static void swapchain_gl_present(struct wined3d_swapchain *swapchain,
}
if (swapchain->render_to_fbo)
{
static unsigned int once;
if (swapchain->desc.swap_effect == WINED3D_SWAP_EFFECT_FLIP && !once++)
FIXME("WINED3D_SWAP_EFFECT_FLIP not implemented.\n");
swapchain_blit(swapchain, context, src_rect, dst_rect);
}
if (swapchain->num_contexts > 1)
gl_info->gl_ops.gl.p_glFinish();
......
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