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

update to latest glutin #230

Merged
merged 2 commits into from Sep 10, 2019
Merged

update to latest glutin #230

merged 2 commits into from Sep 10, 2019

Conversation

happydpc
Copy link
Contributor

@happydpc happydpc commented Sep 9, 2019

No description provided.

src/render/mod.rs Outdated Show resolved Hide resolved
@@ -111,6 +112,8 @@ impl Builder {
.with_title(self.title.clone());

let context = glutin::ContextBuilder::new()
.with_gl_profile(GlProfile::Core)
.with_gl(GlRequest::Latest)
Copy link
Member

Choose a reason for hiding this comment

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

I'd rather prefer to see a specific version here. @kvark what do you think?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Some older GPUs only support GL 2.1, while some macs do not support older GL 2x. So if we are completely pedantic, we can't have a specific version requirement (even though, practically, GL 3.2 would fit most cases). So having Latest here is fine.

src/window.rs Outdated Show resolved Hide resolved
src/window.rs Outdated Show resolved Hide resolved
src/window.rs Outdated Show resolved Hide resolved
@happydpc
Copy link
Contributor Author

Sorry for these small problems. Will three.rs plan to support gfx-hal, because I found that the opengl was not that enough. How about supporting rendy ?

@kvark
Copy link
Collaborator

kvark commented Sep 10, 2019

@happydpc I think it would make more sense to base on wgpu-rs for this project instead of gfx/rendy. See #83 (comment) and #222

@happydpc
Copy link
Contributor Author

Yes, that's true. I had a try on wgpu-rs yesterday, it will be cool if running on web browsers in the future instead of by poor WebGL library. I am planning to port some examples in https://github.com/SaschaWillems/Vulkan with wgpu-rs.

Copy link
Member

@vitvakatu vitvakatu left a comment

Choose a reason for hiding this comment

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

Thanks!

@kvark
Copy link
Collaborator

kvark commented Sep 10, 2019 via email

bors bot added a commit that referenced this pull request Sep 10, 2019
230: update to latest glutin r=vitvakatu a=happydpc



Co-authored-by: happydpc <happydpc@sina.com>
@bors
Copy link
Contributor

bors bot commented Sep 10, 2019

Build succeeded

@bors bors bot merged commit a3787e7 into three-rs:master Sep 10, 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.

None yet

3 participants