Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: offscreen texture has_alpha determination #1058

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

gsrushton
Copy link
Contributor

GlesTexture::from_raw takes an opaque parameter. When creating an offscreen texture this parameter was set to has_alpha which would imply transparency, I.E. the opposite of opaque.

GlesTexture::from_raw takes an `opaque` parameter. When creating an
offscreen texture this parameter was set to `has_alpha` which would
imply transparency, I.E. the opposite of opaque.
@gsrushton gsrushton force-pushed the offscreen-texture-opaque-fix branch from 0b06821 to 920e843 Compare June 29, 2023 15:19
Copy link
Member

@Drakulix Drakulix left a comment

Choose a reason for hiding this comment

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

Nice catch! Thanks :)

@codecov-commenter
Copy link

codecov-commenter commented Jun 29, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (199523c) 24.20% compared to head (920e843) 24.20%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1058   +/-   ##
=======================================
  Coverage   24.20%   24.20%           
=======================================
  Files         140      140           
  Lines       22334    22334           
=======================================
  Hits         5405     5405           
  Misses      16929    16929           
Flag Coverage Δ
wlcs-buffer 21.30% <ø> (ø)
wlcs-core 20.96% <ø> (ø)
wlcs-output 8.53% <ø> (ø)
wlcs-pointer-input 22.96% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Drakulix Drakulix merged commit 67498f2 into Smithay:master Jun 29, 2023
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.

3 participants