buffers: verbose--
This commit is contained in:
parent
e2e608048d
commit
16c0c9524d
@ -154,15 +154,12 @@ impl ShaderChain {
|
||||
}
|
||||
|
||||
pub fn commit(&mut self) {
|
||||
log::info!("commit");
|
||||
let mut queue: Vec<SurfaceUpdate> = {
|
||||
let mut updates = self.updates.pending.lock().unwrap();
|
||||
std::mem::take(updates.as_mut())
|
||||
};
|
||||
log::info!("queue={:?}", queue);
|
||||
for update in queue.iter_mut() {
|
||||
let target_slot = &mut self.bindings[update.slot];
|
||||
log::info!("orig={:?} update={:?}", target_slot, update);
|
||||
if let Some(shader) = update.shader.take() {
|
||||
target_slot.shader = shader;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user