[Mesa-dev] [Bug 101867] Launch options window renders black in Feral Games in current Mesa trunk
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jul 24 23:15:12 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101867
--- Comment #7 from Marek Olšák <maraeo at gmail.com> ---
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
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170724/e1fa1091/attachment.html>
More information about the mesa-dev
mailing list