mesa: don't ever bind NullBufferObj for glBindBuffer targets
[mesa.git] / src / mesa / tnl / t_split_copy.c
index 5b300e935538e113921a311816f35b670debc51b..9df55c78558cbb8b8d0689bada23b40dcce8c0cc 100644 (file)
@@ -555,7 +555,7 @@ replay_init(struct copy_context *copy)
     */
    copy->dstib.count = 0;        /* duplicates dstelt_nr */
    copy->dstib.index_size_shift = 2;
-   copy->dstib.obj = ctx->Shared->NullBufferObj;
+   copy->dstib.obj = NULL;
    copy->dstib.ptr = copy->dstelt;
 }