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:Fredrik Höglund <fredrik@kde.org> Reviewed-by:
Brian Paul <brianp@vmware.com> (cherry picked from commit a17e87d4)
Loading
Please register or sign in to comment