From d1c0d09c28a22b49530e683e3cf1487fc0db3efd Mon Sep 17 00:00:00 2001 From: Alan Griffiths Date: Thu, 19 Oct 2023 16:13:54 +0100 Subject: [PATCH] Pick the first rendering platforms (in alphabetical order) so we prefer eglstream over gbm when choosing a buffer allocator --- src/server/graphics/default_configuration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/graphics/default_configuration.cpp b/src/server/graphics/default_configuration.cpp index 3a00bbb2391..ed6f31ceb47 100644 --- a/src/server/graphics/default_configuration.cpp +++ b/src/server/graphics/default_configuration.cpp @@ -432,7 +432,7 @@ mir::DefaultServerConfiguration::the_buffer_allocator() [&]() -> std::shared_ptr { // TODO: More than one BufferAllocator - return the_rendering_platforms().back()->create_buffer_allocator(*the_display()); + return the_rendering_platforms().front()->create_buffer_allocator(*the_display()); }); }