mesa: add extra null checks in vbo_rebase_prims()
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Sun, 27 Apr 2014 20:04:58 +0000 (23:04 +0300)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 2 May 2014 19:00:30 +0000 (12:00 -0700)
commita50b02783bf926477e1edab5c039912802c67f61
tree0af64c1711297ac7a78c8bfb48ebb7b2134190ab
parentdc675919d30df407269a5e5b3d682e7801db3f1e
mesa: add extra null checks in vbo_rebase_prims()

v2 [idr]: Move declarations before code to prevent MSVC build breaks.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/vbo/vbo_rebase.c