mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
add a warning if v2 api is sent into graphics-server which is v1 only
This commit is contained in:
parent
558b96cfd5
commit
85a216ff0f
1 changed files with 5 additions and 0 deletions
|
|
@ -471,6 +471,11 @@ fn wrapped_main(main_thread_token: backend::MainThreadToken) -> ! {
|
||||||
}
|
}
|
||||||
// no failure if it's not
|
// no failure if it's not
|
||||||
}
|
}
|
||||||
|
GfxOpcode::AcquireModal | GfxOpcode::ReleaseModal => {
|
||||||
|
unimplemented!(
|
||||||
|
"Acquire/Release modal is not supported for this target. Use the GAM instead."
|
||||||
|
);
|
||||||
|
}
|
||||||
GfxOpcode::Quit => break,
|
GfxOpcode::Quit => break,
|
||||||
GfxOpcode::InvalidCall => {
|
GfxOpcode::InvalidCall => {
|
||||||
log::error!("Received invalid GfxOpcode. Ignoring.");
|
log::error!("Received invalid GfxOpcode. Ignoring.");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue