Skip to content

Commit

Permalink
Merge branch 'develop' into issue-290
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazariglez authored Oct 15, 2023
2 parents 8bdf4ae + 150a3bf commit 4661349
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.

- Added traits `Serialize` and `Deserialize` to `Color` with the feature `serde` enabled.
- Updated EGUI to `0.23`.
- Fixed an error acquiring the GL Context due required samples configuration.

## v0.10.0 - 11/09/2023

Expand Down
2 changes: 1 addition & 1 deletion crates/notan_winit/src/gl_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ struct InnerSupport {
}

fn check_support(required_samples: u8, needs_transparency: bool, conf: &GConfig) -> InnerSupport {
let req_samples = conf.num_samples() == required_samples;
let req_samples = conf.num_samples() == required_samples && required_samples != 0;
let srgb = conf.srgb_capable();
let supports_transparency = conf.supports_transparency().unwrap_or(false);
let transparency = if needs_transparency {
Expand Down

0 comments on commit 4661349

Please sign in to comment.