| Index: ui/ozone/platform/drm/gpu/screen_manager.cc
|
| diff --git a/ui/ozone/platform/drm/gpu/screen_manager.cc b/ui/ozone/platform/drm/gpu/screen_manager.cc
|
| index 09e9b425728eedb9df82d050c069779659b8c555..881188e06111536d5e675855a956e077206692a8 100644
|
| --- a/ui/ozone/platform/drm/gpu/screen_manager.cc
|
| +++ b/ui/ozone/platform/drm/gpu/screen_manager.cc
|
| @@ -345,7 +345,7 @@ OverlayPlane ScreenManager::GetModesetBuffer(
|
|
|
| gfx::BufferFormat format = display::DisplaySnapshot::PrimaryFormat();
|
| scoped_refptr<DrmDevice> drm = controller->GetAllocationDrmDevice();
|
| - uint32_t fourcc_format = ui::GetFourCCFormatForFramebuffer(format);
|
| + uint32_t fourcc_format = ui::GetFourCCFormatForOpaqueFramebuffer(format);
|
| scoped_refptr<ScanoutBuffer> buffer =
|
| buffer_generator_->Create(drm, fourcc_format, bounds.size());
|
| if (!buffer) {
|
|
|