Skip to content
Snippets Groups Projects
Commit 65b251f4 authored by Marek Olšák's avatar Marek Olšák Committed by Ian Romanick
Browse files

st/mesa: fix a couple of issues in st_bind_ubos


- don't reference a buffer for a local variable
  (that's never useful unless it can be the only reference to the buffer)
- check if the buffer is not NULL
- set buffer_size as specified with BindBufferRange

NOTE: This is a candidate for the 9.1 branch.

Reviewed-by: default avatarFredrik Höglund <fredrik@kde.org>
Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
(cherry picked from commit a17e87d4)
parent 03c3e082
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment