summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md5
-rw-r--r--glow/src/window/compositor.rs7
2 files changed, 9 insertions, 3 deletions
diff --git a/README.md b/README.md
index c7a460d1..935c1a48 100644
--- a/README.md
+++ b/README.md
@@ -4,11 +4,12 @@
# iced
-[![Test Status](https://github.com/hecrj/iced/workflows/Test/badge.svg?event=push)](https://github.com/hecrj/iced/actions)
[![Documentation](https://docs.rs/iced/badge.svg)][documentation]
[![Crates.io](https://img.shields.io/crates/v/iced.svg)](https://crates.io/crates/iced)
[![License](https://img.shields.io/crates/l/iced.svg)](https://github.com/hecrj/iced/blob/master/LICENSE)
-[![project chat](https://img.shields.io/badge/chat-on_zulip-brightgreen.svg)](https://iced.zulipchat.com)
+[![Downloads](https://img.shields.io/crates/d/iced.svg)](https://crates.io/crates/iced)
+[![Test Status](https://github.com/hecrj/iced/workflows/Test/badge.svg?event=push)](https://github.com/hecrj/iced/actions)
+[![Discord Server](https://img.shields.io/discord/628993209984614400?label=&labelColor=6A7EC2&logo=discord&logoColor=ffffff&color=7389D8)](https://discord.gg/3xZJ65GAhd)
A cross-platform GUI library for Rust focused on simplicity and type-safety.
Inspired by [Elm].
diff --git a/glow/src/window/compositor.rs b/glow/src/window/compositor.rs
index 1fb671ad..b8157f78 100644
--- a/glow/src/window/compositor.rs
+++ b/glow/src/window/compositor.rs
@@ -26,7 +26,12 @@ impl iced_graphics::window::GLCompositor for Compositor {
// Enable alpha blending
gl.enable(glow::BLEND);
- gl.blend_func(glow::SRC_ALPHA, glow::ONE_MINUS_SRC_ALPHA);
+ gl.blend_func_separate(
+ glow::SRC_ALPHA,
+ glow::ONE_MINUS_SRC_ALPHA,
+ glow::ONE,
+ glow::ONE_MINUS_SRC_ALPHA,
+ );
// Disable multisampling by default
gl.disable(glow::MULTISAMPLE);