mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-31 06:30:53 +01:00
refactor(sonar): declare non-mutating member functions const (cpp:S5817)
Virtual functions are left untouched so overrides keep matching.
This commit is contained in:
@@ -34,8 +34,8 @@ namespace gl
|
||||
buffer();
|
||||
~buffer();
|
||||
|
||||
void bind(targets target);
|
||||
void bind_base(targets target, GLuint index);
|
||||
void bind(targets target) const;
|
||||
void bind_base(targets target, GLuint index) const;
|
||||
static void unbind(targets target);
|
||||
static void unbind();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user