Closed mantasarm closed 11 months ago
I have been doing some testing myself, notan uses glutin version 0.30.8
and the provided examples of that glutin version compile just fine on my machine. It seems there's something wrong with how we get the glutin context.
Hey @mantasarm, the error is only on window? I'll try to check it in the next few days to see if I can see what's going on.
Hey, so the error occurs in here https://github.com/Nazariglez/notan/blob/develop/crates/notan_winit/src/gl_manager.rs where the window
and gl_config
is gotten. If I replace this part with how the glutin repository creates the window
and gl_config
https://github.com/rust-windowing/glutin/blob/master/glutin_examples/src/lib.rs, then it works. That's all I have tried out.
Hey, sorry I explained poorly myself, I mean, is it only happening on the Window OS? Mac is not affected by this?
Ohhh. Yeah, so I just tried out latest version of notan on my MacOS boot and seems to be working just fine. It seems only my windows OS is affected.
Interesting update - If I set the multisampling to any other number than zero, then everything runs and works perfectly. But if disable multisampling (set it to 0) only then the error occurs.
With the
0.10.0
version of notan I get the errorError: "extension to create ES context with wgl is not present"
. The program successfully compiles however it fails with the previously mentioned error.My machine is a Mac with an AMD card. It runs windows 10 with dual boot. I had this error before in notan version
0.9.2
I believe. However the owner Nazariglez released a patch that fixed the issue. But now it for some reason it reappeared. Would really appreciate some help with this. I don't want to move away from notan.The patch from last time: https://github.com/Nazariglez/notan/pull/223