mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
glgsg: fix error with glObjectLabel and SSBO
This commit is contained in:
parent
b5194d9ff2
commit
359ce3e9ef
@ -6401,7 +6401,7 @@ prepare_shader_buffer(ShaderBuffer *data) {
|
||||
|
||||
if (_use_object_labels) {
|
||||
string name = data->get_name();
|
||||
_glObjectLabel(GL_SHADER_STORAGE_BUFFER, gbc->_index, name.size(), name.data());
|
||||
_glObjectLabel(GL_BUFFER, gbc->_index, name.size(), name.data());
|
||||
}
|
||||
|
||||
// Some drivers require the buffer to be padded to 16 byte boundary.
|
||||
|
Loading…
x
Reference in New Issue
Block a user