Skip to content
Snippets Groups Projects
Marek Olšák's avatar
Marek Olšák authored
- 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)
65b251f4
History
Name Last commit Last update