intercept and warn on more v2 calls in v1 implementation

This commit is contained in:
bunnie 2025-03-04 19:02:15 +08:00
parent 15f41a5f5b
commit 1a2d6bf772

View file

@ -471,10 +471,8 @@ fn wrapped_main(main_thread_token: backend::MainThreadToken) -> ! {
}
// 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::AcquireModal | GfxOpcode::ReleaseModal | GfxOpcode::UnclippedObjectList => {
unimplemented!("{:?} is not supported for this target. Use the GAM instead.", op);
}
GfxOpcode::Quit => break,
GfxOpcode::InvalidCall => {