https://bugs.freedesktop.org/show_bug.cgi?id=74689

--- Comment #8 from Neil Roberts <[email protected]> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to