Skip to content

Fix multiwindow example.#2

Merged
mitchmindtree merged 1 commit into
mitchmindtree:winit_api_updatefrom
elinorbgr:winit_api_update
Mar 16, 2017
Merged

Fix multiwindow example.#2
mitchmindtree merged 1 commit into
mitchmindtree:winit_api_updatefrom
elinorbgr:winit_api_update

Conversation

@elinorbgr
Copy link
Copy Markdown

@elinorbgr elinorbgr commented Mar 16, 2017

The segfault came from the fact that the context was created without making the windows current, hence the call gl.GetString(gl::VERSION) returned a null ptr.

@mitchmindtree
Copy link
Copy Markdown
Owner

Nice work! Thanks 👍

@mitchmindtree mitchmindtree merged commit 1161df6 into mitchmindtree:winit_api_update Mar 16, 2017
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