diff options
author | Sven Gothel <[email protected]> | 2023-01-15 05:46:40 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-01-15 05:46:40 +0100 |
commit | edf0d33ba913fd37f9e6ce0a771d8dfb6fa962e6 (patch) | |
tree | a61a80cef9a39768d0683a04c7ae32c17725036d /.externalToolBuilders/org.eclipse.jdt.core.javabuilder.launch | |
parent | f10f0658a8e6e91684ab07573fafe20dd87219d3 (diff) |
Fix GLProfile GL2 Mapping: Only use GL3bc is available, add additional GLContext.isGL3bcAvailable() check
Julien Gouesse resolved this odd issue, where a requested GL2 profile was mapped to GL3bc but is not implemented,
see <https://forum.jogamp.org/InternalError-XXX0-profile-2-GL2-gt-profileImpl-GL3bc-not-mapped-td4041754i20.html#a4042018>.
I exploded his patch a little to reuse the GLContext.getAvailableGLProfileName() result
and simplify the conditional statement.
This might need more testing perhaps, plus analyis why GLContext.getAvailableGLProfileName()
offers GL3bc but is not available via GLContext.isGL3bcAvailable() check.
Diffstat (limited to '.externalToolBuilders/org.eclipse.jdt.core.javabuilder.launch')
0 files changed, 0 insertions, 0 deletions