From f7cb8765a676ed59a45dd51af8bdf2f30dcb0aab Mon Sep 17 00:00:00 2001 From: Darby Johnston Date: Tue, 28 May 2024 13:58:15 -0700 Subject: [PATCH] Color buffer fix --- lib/tlUIApp/Window.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/tlUIApp/Window.cpp b/lib/tlUIApp/Window.cpp index 122fd50ef..4fe7682fb 100644 --- a/lib/tlUIApp/Window.cpp +++ b/lib/tlUIApp/Window.cpp @@ -483,7 +483,9 @@ namespace tl { { gl::OffscreenBufferBinding binding(p.offscreenBuffer); - p.render->begin(p.frameBufferSize); + timeline::RenderOptions renderOptions; + renderOptions.colorBuffer = p.colorBuffer->get(); + p.render->begin(p.frameBufferSize, renderOptions); ui::DrawEvent drawEvent( event.style, event.iconLibrary,