[Bug 23012] Black sky in Gothic 3
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Jun 2 14:23:29 CDT 2010
http://bugs.winehq.org/show_bug.cgi?id=23012
--- Comment #2 from Rico <kgbricola at 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)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list