[PATCH] glamor: fix crash when drawing nothing

Eric Anholt eric at anholt.net
Wed Oct 14 17:10:18 PDT 2015

Rob Clark <robdclark at gmail.com> writes:

> For example, in the PolyFillRect() path w/ nrect==0, we end up in
> glamor_get_vbo_space(size=0):

I wonder instead if we shouldn't just have glamor_get_vbo_space() return
NULL on size == 0?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20151014/e813d60a/attachment.sig>

More information about the xorg-devel mailing list