mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-07 11:13:40 -04:00
cleared alpha channel
This commit is contained in:
parent
4089382e00
commit
508f5fe75e
1 changed files with 2 additions and 2 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue