mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-04-28 20:58:03 +03:00
renderer_vulkan: Actually initialize background colors on start
This commit is contained in:
parent
2a7a5078fc
commit
8c8890037c
1 changed files with 5 additions and 0 deletions
|
@ -178,6 +178,11 @@ void RendererVulkan::RenderToWindow(PresentWindow& window, const Layout::Framebu
|
|||
window.RecreateFrame(frame, layout.width, layout.height);
|
||||
}
|
||||
|
||||
clear_color.float32[0] = Settings::values.bg_red.GetValue();
|
||||
clear_color.float32[1] = Settings::values.bg_green.GetValue();
|
||||
clear_color.float32[2] = Settings::values.bg_blue.GetValue();
|
||||
clear_color.float32[3] = 1.0f;
|
||||
|
||||
DrawScreens(frame, layout, flipped);
|
||||
scheduler.Flush(frame->render_ready);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue