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>
This commit is contained in:
Samuel Pitoiset 2017-08-24 13:43:20 +02:00
parent 41c7c2d968
commit 4f532ab30e

View file

@ -193,9 +193,6 @@ void
_mesa_init_transform_feedback_object(struct gl_transform_feedback_object *obj,
GLuint name)
{
if (!obj)
return;
obj->Name = name;
obj->RefCount = 1;
obj->EverBound = GL_FALSE;