diff options
Diffstat (limited to 'src/mesa/main/varray.c')
-rw-r--r-- | src/mesa/main/varray.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index ec5e7191761..f516d0008d6 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -901,10 +901,6 @@ update_array(struct gl_context *ctx, assert((vao->NewArrays | ~vao->Enabled) & VERT_BIT(attrib)); array->Ptr = ptr; - /* TODO: remove this hack by not using NullBufferObj in callers */ - if (obj == ctx->Shared->NullBufferObj) - obj = NULL; - /* Update the vertex buffer binding */ GLsizei effectiveStride = stride != 0 ? stride : array->Format._ElementSize; |