mesa: remove no longer needed _mesa_is_bufferobj function
[mesa.git] / src / mesa / main / varray.h
index 247fcb1d7f7f7ccbe919d97c0833b030e7a34677..6a549d2a5f0c4462e5d342d6df4c18b18e1e6135 100644 (file)
@@ -45,7 +45,7 @@ static inline const GLubyte *
 _mesa_vertex_attrib_address(const struct gl_array_attributes *array,
                             const struct gl_vertex_buffer_binding *binding)
 {
-   if (_mesa_is_bufferobj(binding->BufferObj))
+   if (binding->BufferObj)
       return (const GLubyte *) (binding->Offset + array->RelativeOffset);
    else
       return array->Ptr;