Skip to content

Conversation

Wumpf
Copy link
Member

@Wumpf Wumpf commented Oct 11, 2022

Checklist

  • Run cargo clippy.
  • Run RUSTFLAGS=--cfg=web_sys_unstable_apis cargo clippy --target wasm32-unknown-unknown if applicable.
  • Add change to CHANGELOG.md. See simple instructions inside file.

Description
Srgb conversion on webgl assumed the viewport was correctly set. But what if it isn't? This can happen:
image

Testing
manual testing with an egui application

Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh

@cwfitzgerald cwfitzgerald merged commit 351ca3e into gfx-rs:master Oct 11, 2022
@Wumpf Wumpf deleted the webgl/fix-srgb-path-viewport-dependency branch October 11, 2022 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants