Update bind_at api to check for recalculated parameter offset

This commit is contained in:
PThorpe92
2025-05-07 15:52:32 -04:00
parent d908e78729
commit 828840c371

View File

@@ -636,7 +636,8 @@ impl Statement {
}
pub fn bind_at(&mut self, index: NonZero<usize>, value: OwnedValue) {
self.state.bind_at(index, value);
let internal = self.program.parameters.get_remap(index);
self.state.bind_at(internal, value);
}
pub fn reset(&mut self) {