I’m a beginner in JOGL. I tired to write a sample app with a canvas inside a Swing frame and run it under Windows and linux.
I found out that on windows i had to generate the canvas before invoking any kind of Swing or AWT object or method, otherwhise i would get a double viewport outside the frame and an unwanted screen res change.
This applies also to other java apps :
for example if i start a java app with no openGL BEFORE my JOGL sample i get the same error, if i do the opposite all works fine. Why that?
On linux instead i run into some TLS error with my driver, and JOGL app doesn’t load at all, stating :
UnsatisfiedLinkError libGL.so cannot handle TLS data.
What’s wrong? Are this common erros?
Before switching back to C++ i would like to hear some opinion!
Thanks in advance!
Byez =8)!
Ob1