mirror of
https://github.com/reactos/wine.git
synced 2025-02-28 08:46:31 +00:00
wined3d: Print the WINED3D_SWAP_EFFECT_FLIP FIXME only once.
The comment is also outdated.
This commit is contained in:
parent
36dbac6cb8
commit
660bc8b717
@ -510,14 +510,10 @@ static void swapchain_gl_present(struct wined3d_swapchain *swapchain, const RECT
|
||||
|
||||
if (swapchain->render_to_fbo)
|
||||
{
|
||||
/* This codepath should only be hit with the COPY swapeffect. Otherwise a backbuffer-
|
||||
* window size mismatch is impossible(fullscreen) and src and dst rectangles are
|
||||
* not allowed(they need the COPY swapeffect)
|
||||
*
|
||||
* The DISCARD swap effect is ok as well since any backbuffer content is allowed after
|
||||
* the swap. */
|
||||
if (swapchain->desc.swap_effect == WINED3D_SWAP_EFFECT_FLIP)
|
||||
FIXME("Render-to-fbo with WINED3D_SWAP_EFFECT_FLIP\n");
|
||||
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user