Skip to content

Commit

Permalink
Pick the first rendering platforms (in alphabetical order) so we pref…
Browse files Browse the repository at this point in the history
…er eglstream over gbm when choosing a buffer allocator
  • Loading branch information
AlanGriffiths committed Oct 19, 2023
1 parent 18ba177 commit d1c0d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/graphics/default_configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ mir::DefaultServerConfiguration::the_buffer_allocator()
[&]() -> std::shared_ptr<graphics::GraphicBufferAllocator>
{
// 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());
});
}

Expand Down

0 comments on commit d1c0d09

Please sign in to comment.