From a1f1e1080edc84cb5d5464c7fddac945c0b32050 Mon Sep 17 00:00:00 2001 From: jpark37 Date: Thu, 5 Sep 2019 22:47:20 -0700 Subject: [PATCH] UI: Switch from RGBA to BGRA swap chain format DirectX team member claims BGRA might have flip optimization benefits. --- UI/qt-display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/qt-display.cpp b/UI/qt-display.cpp index 988068a6d..1bb97c7ba 100644 --- a/UI/qt-display.cpp +++ b/UI/qt-display.cpp @@ -86,7 +86,7 @@ void OBSQTDisplay::CreateDisplay() gs_init_data info = {}; info.cx = size.width(); info.cy = size.height(); - info.format = GS_RGBA; + info.format = GS_BGRA; info.zsformat = GS_ZS_NONE; QTToGSWindow(winId(), info.window);