http://bugs.winehq.org/show_bug.cgi?id=23012
--- Comment #2 from Rico kgbricola@web.de 2010-06-02 14:23:29 --- Adding the surface_internal_preload(depth_stencil, SRGB_RGB); in context_attach_depth_stencil_fbo before context_apply_attachment_filter_states restores the old behavior with wine af7dfcd378739127c50aa95ce40b13eb3d1950cf. But it crashes with current git, probably due to other changes.
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 0878985..6b065fd 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -207,6 +207,7 @@ void context_attach_depth_stencil_fbo(struct wined3d_context else { surface_prepare_texture(depth_stencil_impl, FALSE); +surface_internal_preload(depth_stencil, SRGB_RGB); context_apply_attachment_filter_states(depth_stencil);
if (format_flags & WINED3DFMT_FLAG_DEPTH)