mirror of
https://github.com/wayvr-org/wayvr.git
synced 2026-12-04 07:42:27 -08:00
fix build without wayvr feature
This commit is contained in:
1 parent
10191385e4
commit
3484df0cf7
1 file changed
+3
-1
@@ -111,6 +111,7 @@ pub fn tick_events<O>(
|
||||
where
|
||||
O: Default,
|
||||
{
|
||||
#[cfg(feature = "wayvr")]
|
||||
let wayland_server = app.wayland_server.clone();
|
||||
|
||||
while let Some(signal) = app.wayvr_signals.read() {
|
||||
@@ -193,7 +194,8 @@ where
|
||||
|
||||
#[cfg(not(feature = "wayvr"))]
|
||||
{
|
||||
app.ipc_server.tick(&mut ipc_server::TickParams {
|
||||
use super::ipc_server::TickParams;
|
||||
app.ipc_server.tick(&mut TickParams {
|
||||
input_state: &app.input_state,
|
||||
signals: &app.wayvr_signals,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user