<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - SIGSEGV weston-desktop-shell when specified background image missing"
href="https://bugs.freedesktop.org/show_bug.cgi?id=74689#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - SIGSEGV weston-desktop-shell when specified background image missing"
href="https://bugs.freedesktop.org/show_bug.cgi?id=74689">bug 74689</a>
from <span class="vcard"><a class="email" href="mailto:neil@linux.intel.com" title="Neil Roberts <neil@linux.intel.com>"> <span class="fn">Neil Roberts</span></a>
</span></b>
<pre>I was thinking maybe the best thing to do would be to just remove the check for
a zero-sized framebuffer entirely. This check also bails out if the scissor
does not intersect with the framebuffer. However this can cause problems even
without Kristian's patch in a contrived example. If the scissor is set to just
outside the bounds of the framebuffer and then the framebuffer is resized to
intersect with it before calling glClear, then _mesa_Clear won't yet have the
new size so it will incorrectly skip out the clear entirely. I'm not sure
whether it's a good idea though because there is nothing further down in the
driver to bail out and it does end up putting a clear command in the batch
buffer.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>