Commit cae8ebab authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Do not call context_validate_onscreen_formats() in context_apply_blit_state().

It does nothing when depth_stencil is NULL. Signed-off-by: 's avatarJózef Kucia <jkucia@codeweavers.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 279cad23
...@@ -2956,8 +2956,6 @@ void context_apply_blit_state(struct wined3d_context *context, const struct wine ...@@ -2956,8 +2956,6 @@ void context_apply_blit_state(struct wined3d_context *context, const struct wine
if (wined3d_settings.offscreen_rendering_mode == ORM_FBO) if (wined3d_settings.offscreen_rendering_mode == ORM_FBO)
{ {
context_validate_onscreen_formats(context, NULL);
if (context->render_offscreen) if (context->render_offscreen)
{ {
wined3d_texture_load(rt, context, FALSE); wined3d_texture_load(rt, context, FALSE);
......
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