openvr: re-upload line texs on show-hide to prevent disappearing lasers

This commit is contained in:
galister
2024-03-19 17:16:35 +01:00
parent 72bac6465e
commit 3907e089de
2 changed files with 7 additions and 0 deletions

View File

@@ -160,6 +160,12 @@ impl LinePool {
}
Ok(())
}
pub fn mark_dirty(&mut self) {
for data in self.lines.values_mut() {
data.state.dirty = true;
}
}
}
struct StaticRenderer {