mirror of https://github.com/wayvr-org/wayvr.git
fix build without wayvr feature
This commit is contained in:
parent
10191385e4
commit
3484df0cf7
|
|
@ -111,6 +111,7 @@ pub fn tick_events<O>(
|
||||||
where
|
where
|
||||||
O: Default,
|
O: Default,
|
||||||
{
|
{
|
||||||
|
#[cfg(feature = "wayvr")]
|
||||||
let wayland_server = app.wayland_server.clone();
|
let wayland_server = app.wayland_server.clone();
|
||||||
|
|
||||||
while let Some(signal) = app.wayvr_signals.read() {
|
while let Some(signal) = app.wayvr_signals.read() {
|
||||||
|
|
@ -193,7 +194,8 @@ where
|
||||||
|
|
||||||
#[cfg(not(feature = "wayvr"))]
|
#[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,
|
input_state: &app.input_state,
|
||||||
signals: &app.wayvr_signals,
|
signals: &app.wayvr_signals,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue