Revert "Merge pull request #371 from myfreeweb/window-alpha"
This reverts commit2ba9598f80, reversing changes made tod34f8e06c8.
This commit is contained in:
parent
2ba9598f80
commit
b96d87ff69
6 changed files with 9 additions and 49 deletions
|
|
@ -21,12 +21,7 @@ impl iced_graphics::window::GLCompositor for Compositor {
|
|||
) -> (Self, Self::Renderer) {
|
||||
let gl = glow::Context::from_loader_function(loader_function);
|
||||
|
||||
gl.clear_color(
|
||||
settings.background_color.r,
|
||||
settings.background_color.g,
|
||||
settings.background_color.b,
|
||||
settings.background_color.a,
|
||||
);
|
||||
gl.clear_color(1.0, 1.0, 1.0, 1.0);
|
||||
|
||||
// Enable auto-conversion from/to sRGB
|
||||
gl.enable(glow::FRAMEBUFFER_SRGB);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue