Fix alpha channel when clearing background

This commit is contained in:
Martchus 2023-10-14 21:45:26 +02:00
parent cd5b89e4a0
commit f5674a4d1d
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ void CGLView::paintGL()
auto *const funcs = ctx->functions();
const auto &colorTheme = Cfg::colorTheme();
const auto &backgroundColor = colorTheme.backgroundColor;
funcs->glClearColor(backgroundColor.red, backgroundColor.green, backgroundColor.blue, 0.0);
funcs->glClearColor(backgroundColor.red, backgroundColor.green, backgroundColor.blue, 1.0);
funcs->glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
m_themeChange = false;
}