luminance-rs
luminance-rs copied to clipboard
Add `GlutinSurface::new_gl33_with_builders`
This is a constructor of GlutinSurface
that allows the EventLoop
, WindowBuilder
, and ContextBuilder
to be passed in and thus configured by the user (In particular, the existing constructors do not allow passing in an EventLoop
).
So your new function doesn’t set the actual context? It relies on the client setting it, right? That’s not super sound, it’s super easy to mess up and forget which context to use.