wined3d: Allow offscreen depth/stencil clears again with FBOs.

This fixes a regression introduced by 10f58c14bc.
This commit is contained in:
Henri Verbeet 2010-04-16 12:41:02 +02:00 committed by Alexandre Julliard
parent 20f899e789
commit 738ca2f5fc
1 changed files with 1 additions and 1 deletions

View File

@ -4394,7 +4394,7 @@ HRESULT IWineD3DDeviceImpl_ClearSurface(IWineD3DDeviceImpl *This, IWineD3DSurfac
ENTER_GL();
context_bind_fbo(context, GL_FRAMEBUFFER, &context->dst_fbo);
context_attach_surface_fbo(context, GL_FRAMEBUFFER, 0, target);
context_attach_depth_stencil_fbo(context, GL_FRAMEBUFFER, NULL, FALSE);
context_attach_depth_stencil_fbo(context, GL_FRAMEBUFFER, depth_stencil, TRUE);
LEAVE_GL();
}
}