mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
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:
parent
41c7c2d968
commit
4f532ab30e
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue