wined3d: Restore the call to context_validate_onscreen_formats.
This got lost accidentally in d321959dd7
.
This commit is contained in:
parent
2ddf1c38c7
commit
41f9ca2abf
|
@ -2247,6 +2247,11 @@ BOOL context_apply_draw_state(struct wined3d_context *context, struct wined3d_de
|
|||
fb->render_targets, fb->depth_stencil))
|
||||
return FALSE;
|
||||
|
||||
if (wined3d_settings.offscreen_rendering_mode == ORM_FBO && isStateDirty(context, STATE_FRAMEBUFFER))
|
||||
{
|
||||
context_validate_onscreen_formats(context, fb->depth_stencil);
|
||||
}
|
||||
|
||||
/* Preload resources before FBO setup. Texture preload in particular may
|
||||
* result in changes to the current FBO, due to using e.g. FBO blits for
|
||||
* updating a resource location. */
|
||||
|
|
Loading…
Reference in New Issue