cleared alpha channel

This commit is contained in:
KojoZero 2026-05-05 17:41:54 -07:00
parent 4089382e00
commit 508f5fe75e

View file

@ -386,7 +386,7 @@ void RendererOpenGL::AllocatePPTextures(){
*/
void RendererOpenGL::InitOpenGLObjects() {
glClearColor(Settings::values.bg_red.GetValue(), Settings::values.bg_green.GetValue(),
Settings::values.bg_blue.GetValue(), 1.0f);
Settings::values.bg_blue.GetValue(), 0.0f);
for (std::size_t i = 0; i < samplers.size(); i++) {
samplers[i].Create();
@ -1040,7 +1040,7 @@ void RendererOpenGL::DrawScreens(const Layout::FramebufferLayout& layout, bool f
if (settings.bg_color_update_requested.exchange(false)) {
// Update background color before drawing
glClearColor(Settings::values.bg_red.GetValue(), Settings::values.bg_green.GetValue(),
Settings::values.bg_blue.GetValue(), 1.0f);
Settings::values.bg_blue.GetValue(), 0.0f);
}
if (settings.shader_update_requested.exchange(false)) {