<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Launch options window renders black in Feral Games in current Mesa trunk"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101867#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Launch options window renders black in Feral Games in current Mesa trunk"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101867">bug 101867</a>
from <span class="vcard"><a class="email" href="mailto:maraeo@gmail.com" title="Marek Olšák <maraeo@gmail.com>"> <span class="fn">Marek Olšák</span></a>
</span></b>
<pre>Can you try this:
diff --git a/src/mesa/state_tracker/st_manager.c
b/src/mesa/state_tracker/st_manager.c
index 834bcc9..ede5439 100644
--- a/src/mesa/state_tracker/st_manager.c
+++ b/src/mesa/state_tracker/st_manager.c
@@ -642,6 +642,12 @@ st_context_flush(struct st_context_iface *stctxi, unsigned
flags,
if (flags & ST_FLUSH_FRONT)
st_manager_flush_frontbuffer(st);
+
+ /* Enter st_validate_state in the next draw call to revalidate
+ * the framebuffer.
+ */
+ if (flags & ST_FLUSH_END_OF_FRAME)
+ st->gfx_shaders_may_be_dirty = true;
}
static boolean</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>