Closed lunabunn closed 3 years ago
This requires a bit more research, but I'll try to get to it soon. I do remember thinking it had to be this way, but it was a while ago now and maybe I was just tired. 😅
Upon some reading through & fiddling with the code, pretty sure I just wasn't thinking straight. With the current implementation, because you only set the window after you create the context, you need to create a new window to set the correct PFD on. I'll close this 😅
https://github.com/kettle11/kapp/blob/2b236c6b53d042afed6cdcb448121eb905fca624/gl_context/src/windows/mod.rs#L294-L378
Why exactly are we creating a second dummy window here?