luminance-rs icon indicating copy to clipboard operation
luminance-rs copied to clipboard

Add `GlutinSurface::new_gl33_with_builders`

Open ColonelThirtyTwo opened this issue 3 years ago • 1 comments

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).

ColonelThirtyTwo avatar Nov 11 '21 15:11 ColonelThirtyTwo

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.

hadronized avatar Dec 31 '21 11:12 hadronized