mesa: remove unnecessary check in _mesa_init_transform_feedback_object()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 24 Aug 2017 11:43:20 +0000 (13:43 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 25 Aug 2017 09:11:46 +0000 (11:11 +0200)
commit4f532ab30ed8b5fb1132224323d0d471ae453db6
tree0d13bb515701ec3932ab531014acb51cc905f43a
parent41c7c2d968961e1cca2d5308f3066b2b840be68b
mesa: remove unnecessary check in _mesa_init_transform_feedback_object()

All callers already check that, and the common behaviour is to
check in the _mesa_new_XXX() helpers anyway.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/transformfeedback.c