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

Request dual source blending feature during device creation #250

Merged
merged 1 commit into from
Jan 24, 2019

Conversation

zakorgy
Copy link

@zakorgy zakorgy commented Jan 22, 2019

This fixes #80 (comment)

.filter(|family| {
hal::Graphics::supported_by(family.queue_type())
&& surface.supports_queue_family(&family)
&& 1 <= family.max_queues()
Copy link

Choose a reason for hiding this comment

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

we shouldn't have a check for that, IIRC

&& surface.supports_queue_family(&family)
&& 1 <= family.max_queues()
})
.next().unwrap();
Copy link

Choose a reason for hiding this comment

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

why is it filter(...).next().unwrap() instead of just find().unwrap()?

Copy link
Author

Choose a reason for hiding this comment

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

I have used the code of open_with from gfx-rs and I forgot to change the syntax here to match our case. Thanks for the correction.

@dati91 dati91 merged commit d915bbb into szeged:master Jan 24, 2019
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.

Check the validation layer
3 participants