=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Do not call context_validate_onscreen_formats() in context_apply_blit_state().
Alexandre Julliard
julliard at winehq.org
Wed Feb 28 15:39:33 CST 2018
Module: wine
Branch: master
Commit: cae8ebab91798856d3f12caf5f8b4d9035693ce8
URL: https://source.winehq.org/git/wine.git/?a=commit;h=cae8ebab91798856d3f12caf5f8b4d9035693ce8
Author: Józef Kucia <jkucia at codeweavers.com>
Date: Wed Feb 28 12:12:34 2018 +0100
wined3d: Do not call context_validate_onscreen_formats() in context_apply_blit_state().
It does nothing when depth_stencil is NULL.
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wined3d/context.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index 32126b7..4282cfb 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -2956,8 +2956,6 @@ void context_apply_blit_state(struct wined3d_context *context, const struct wine
if (wined3d_settings.offscreen_rendering_mode == ORM_FBO)
{
- context_validate_onscreen_formats(context, NULL);
-
if (context->render_offscreen)
{
wined3d_texture_load(rt, context, FALSE);
More information about the wine-cvs
mailing list