From 1a2d6bf7728d4ca495bdc42f741c55413b3694c7 Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 4 Mar 2025 19:02:15 +0800 Subject: [PATCH] intercept and warn on more v2 calls in v1 implementation --- services/graphics-server/src/main.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/services/graphics-server/src/main.rs b/services/graphics-server/src/main.rs index 9ddd35545..7b5fc5c05 100644 --- a/services/graphics-server/src/main.rs +++ b/services/graphics-server/src/main.rs @@ -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 => {