[Bug 93844] Intel driver crashes after switching between fullscreen and windowed mode on RetroArch
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jan 26 12:43:44 PST 2016
https://bugs.freedesktop.org/show_bug.cgi?id=93844
--- Comment #20 from Chris Wilson <chris at chris-wilson.co.uk> ---
Gone over the possible settings of info->signal to true when info->draw ==
NULL, and think I have found the last missing piece:
diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index f2f4908..045b12d 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -2787,6 +2787,9 @@ sna_dri2_flip_continue(struct sna_dri2_event *info)
info->type = info->flip_continue;
info->flip_continue = 0;
+ if (info->draw == NULL)
+ return false;
+
if (info->sna->mode.front_active == 0)
return false;
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160126/c9ddf38f/attachment.html>
More information about the intel-gfx-bugs
mailing list