openvr: re-upload line texs on show-hide to prevent disappearing lasers
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user