Hi Mario, I have just committed a patch that does your suggestion regarding setting contexts only when a different one is used.
On 06/09/2016 12:09 AM, Mário Luzeiro wrote: [snip] >> In wxWidgets examples they do not need to set context, as there is only >> one, so there is no chance OpenGL calls might be invoked in a wrong context. > > I was wondering also my suggestion may broke things OnPaint if other (non > KiCad) ? applications are running at same time using OpenGL? > If yes, in that case so we may need a special lock for the destroy. > :S What a puzzle.. I believe OGL contexts are managed on per-process basis by video drivers. >> BTW. I do not see the asserts, I am wondering if there is a better >> implementation in newer wxWidgets. Which version do you use? > > libwxbase3.0-dev 3.0.0-2 (trusty) > Linux Mint 17.3 Rosa 64-bit > Kernel Linux 3.19.0-32-generic x86_64 > MATE 1.12.0 > > I can only catch it running on debug (I am using QtCreator for that) > I am not sure what could be other differences.. > > It would be good if you can experienced it. I also run my builds with debug enabled and I just do not see any messages, though I recall I had them in the past. My daily builds use wx3.1, and I have just tested wx3.0.2 but still no asserts here. Regards, Orson > Regards, > Mario Luzeiro >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

