wined3d: Don't print the context recreation FIXME for FBO ORM.

With FBOs we can just render offscreen to an appropriate depth/stencil buffer.
This commit is contained in:
Henri Verbeet 2011-09-12 19:51:17 +02:00 committed by Alexandre Julliard
parent f2115004d5
commit 66637ea35c
1 changed files with 3 additions and 2 deletions

View File

@ -1023,8 +1023,9 @@ static HRESULT swapchain_init(struct wined3d_swapchain *swapchain, WINED3DSURFTY
goto err; goto err;
} }
if (!present_parameters->EnableAutoDepthStencil if (wined3d_settings.offscreen_rendering_mode != ORM_FBO
|| swapchain->presentParms.AutoDepthStencilFormat != swapchain->ds_format->id) && (!present_parameters->EnableAutoDepthStencil
|| swapchain->presentParms.AutoDepthStencilFormat != swapchain->ds_format->id))
{ {
FIXME("Add OpenGL context recreation support to context_validate_onscreen_formats\n"); FIXME("Add OpenGL context recreation support to context_validate_onscreen_formats\n");
} }