u_vbuf: Return true in u_vbuf_get_caps if nb of vbufs is below minimum
authorPaul Cercueil <paul@crapouillou.net>
Fri, 22 Nov 2019 22:23:36 +0000 (23:23 +0100)
committerMarge Bot <eric+marge@anholt.net>
Sat, 21 Dec 2019 18:29:30 +0000 (18:29 +0000)
commit63b33120b7ae2598d4cacfa5e5b95476d0295acd
tree99c69cd0bb782faef68d761c4869e0fdf718efb4
parentc6ef79c488bb5fffde31e7065fd3e575f3c25fb5
u_vbuf: Return true in u_vbuf_get_caps if nb of vbufs is below minimum

Return true in u_vbuf_get_caps if the number of vertex buffers is below
the minimum required for proper OpenGL 2.0.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2807>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2807>
src/gallium/auxiliary/util/u_vbuf.c