Skip to content

Commit 9de827e

Browse files
committed
Check cuttlefish config for RGBA vs BGRA
This seems to have been lost from aosp/3095277 in commit 367b2eb by accident. Bug: b/341647448
1 parent 6096cf0 commit 9de827e

File tree

1 file changed

+1
-1
lines changed
  • base/cvd/cuttlefish/host/frontend/webrtc

1 file changed

+1
-1
lines changed

base/cvd/cuttlefish/host/frontend/webrtc/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ int CuttlefishMain() {
251251
close(FLAGS_confui_out_fd);
252252

253253
int frames_fd = FLAGS_frame_server_fd;
254-
bool frames_are_rgba = true;
254+
bool frames_are_rgba = !instance.guest_uses_bgra_framebuffers();
255255
fruit::Injector<ScreenConnector<DisplayHandler::WebRtcScProcessedFrame>,
256256
confui::HostServer, confui::HostVirtualInput>
257257
conf_ui_components_injector(CreateConfirmationUIComponent,

0 commit comments

Comments
 (0)