From ae5ebda397d8b2d8b1506e34e8b2623df4ad81ca Mon Sep 17 00:00:00 2001 From: Doris Wu Date: Wed, 3 Sep 2025 06:27:35 +0800 Subject: [PATCH] Get actual backend type from the engine (#9171) --- samples/multiple_windows.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/multiple_windows.cpp b/samples/multiple_windows.cpp index 6240f79802..e3d6651190 100644 --- a/samples/multiple_windows.cpp +++ b/samples/multiple_windows.cpp @@ -115,6 +115,7 @@ int main(int argc, char *argv[]) { // if we are single-threaded. But we can't create the Filament objects // until after we have created the engine. auto engine = Engine::create(kBackend); + kBackend = engine->getBackend(); for (auto &w : windows) { setup_window(w, engine);