mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
gobj: Fix ShaderBuffer.prepare()
not actually doing anything
This commit is contained in:
parent
03d411c937
commit
fcfa1d2c99
@ -1658,6 +1658,12 @@ begin_frame(GraphicsStateGuardianBase *gsg, Thread *current_thread) {
|
||||
}
|
||||
|
||||
_enqueued_index_buffers.clear();
|
||||
|
||||
for (ShaderBuffer *buffer : _enqueued_shader_buffers) {
|
||||
buffer->prepare_now(this, gsg);
|
||||
}
|
||||
|
||||
_enqueued_shader_buffers.clear();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user