16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 20:39:18 +02:00

reformat: remove redundant qualifiers

This commit is contained in:
jerrrrycho
2026-07-04 05:34:23 +02:00
parent 20e7a99516
commit cf9fb07800
98 changed files with 2290 additions and 2290 deletions

View File

@@ -3,17 +3,17 @@
gl::ubo::ubo(size_t size, int idx, GLenum hint)
{
allocate(buffer::UNIFORM_BUFFER, size, hint);
allocate(UNIFORM_BUFFER, size, hint);
index = idx;
bind_uniform();
}
void gl::ubo::bind_uniform()
{
bind_base(buffer::UNIFORM_BUFFER, index);
bind_base(UNIFORM_BUFFER, index);
}
void gl::ubo::update(const uint8_t *data, int offset, GLsizeiptr size)
{
upload(buffer::UNIFORM_BUFFER, data, offset, size);
upload(UNIFORM_BUFFER, data, offset, size);
}