mirror of https://github.com/wayvr-org/wayvr.git
fix uidev build
This commit is contained in:
parent
9425db9ae4
commit
b91ec99782
|
|
@ -53,7 +53,7 @@ impl settings::SettingsIO for SimpleSettingsIO {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct TestbedDashboard {
|
pub struct TestbedDashboard {
|
||||||
frontend: frontend::Frontend,
|
frontend: frontend::Frontend<()>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl TestbedDashboard {
|
impl TestbedDashboard {
|
||||||
|
|
@ -71,9 +71,12 @@ impl TestbedDashboard {
|
||||||
|
|
||||||
impl Testbed for TestbedDashboard {
|
impl Testbed for TestbedDashboard {
|
||||||
fn update(&mut self, params: TestbedUpdateParams) -> anyhow::Result<()> {
|
fn update(&mut self, params: TestbedUpdateParams) -> anyhow::Result<()> {
|
||||||
self
|
self.frontend.update(
|
||||||
.frontend
|
&mut (), /* nothing */
|
||||||
.update(params.width, params.height, params.timestep_alpha)
|
params.width,
|
||||||
|
params.height,
|
||||||
|
params.timestep_alpha,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn layout(&mut self) -> &mut Layout {
|
fn layout(&mut self) -> &mut Layout {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue