Re: Unable to determine Graphics Configuration. Am I setting up something wrong?
Posted by Martin on Feb 09, 2022; 4:27pm
URL: https://forum.jogamp.org/Unable-to-determine-Graphics-Configuration-Am-I-setting-up-something-wrong-tp4041606p4041633.html
Hi,
I reproduce the same flow than you when removing the workaround flag that I suggested above.
I also found that the code is hard to understand and to debug. So repeat my primary proposal : try JDK 14 or 17 which will work if you enable the flags (or JDK 8 which wasn't causing trouble as well to my memory).
This graphic configuration chooser is however a threat for future JDK : there is a reflection mecanism to load the Win32GraphicsConfig, but I fear this may not be allowed in future JDK version.