Skip to content

Conversation

@ryanisaacg
Copy link
Owner

@ryanisaacg ryanisaacg commented Sep 12, 2020

Users shouldn't be subjected to breaking golem changes for every single glow breakage (which are pretty common, because glow has a bigger API surface.)

Additionally, stdweb is not longer a priority because it is unmaintained. Only web-sys will be supported going forward.

Closes #33

Users shouldn't be subjected to breaking golem changes for every single
glow breakage (which are pretty common, because glow has a bigger API
surface.)

Additionally, stdweb is not longer a priority because it is
unmaintained. Only web-sys will be supported going forward.
@coolreader18
Copy link

coolreader18 commented Jan 22, 2021

What if, instead of manually having the cfg for every instantiation, there was a function on blinds::Window like fn gl_initializer(&self) -> {impl FnMut(&str) -> *const c_void OR web_sys::WebGLRenderingContext} and a function on golem::Context like fn from_gl_init(init: {impl FnMut.. OR web_sys::...}). That way it's sort of just a convention (i.e. no semver dependencies), and it's still easy to create a golem context from a blinds window.

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