diff options
author | Marek Olšák <[email protected]> | 2020-03-21 22:49:03 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2020-04-06 10:28:53 -0400 |
commit | f3cce7087a562f77be7306e70d4e62bc214bb5fa (patch) | |
tree | 1d5f93dc13deb0e7822a9296a4b48f61442ec665 /src/mesa/main/transformfeedback.c | |
parent | e630271e0ec3eee7d921d76d3924873f6ee6b59b (diff) |
mesa: don't ever bind NullBufferObj for glBindBuffer targets
Since VAOs don't use NullBufferObj for vertex attribs anymore, let's remove
more uses of NullBufferObj.
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4466>
Diffstat (limited to 'src/mesa/main/transformfeedback.c')
-rw-r--r-- | src/mesa/main/transformfeedback.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/transformfeedback.c b/src/mesa/main/transformfeedback.c index 06719b1ce82..b9cbe5a309b 100644 --- a/src/mesa/main/transformfeedback.c +++ b/src/mesa/main/transformfeedback.c @@ -142,8 +142,7 @@ _mesa_init_transform_feedback(struct gl_context *ctx) ctx->TransformFeedback.Objects = _mesa_NewHashTable(); _mesa_reference_buffer_object(ctx, - &ctx->TransformFeedback.CurrentBuffer, - ctx->Shared->NullBufferObj); + &ctx->TransformFeedback.CurrentBuffer, NULL); } |