aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-01-15 05:46:40 +0100
committerSven Gothel <[email protected]>2023-01-15 05:46:40 +0100
commitedf0d33ba913fd37f9e6ce0a771d8dfb6fa962e6 (patch)
treea61a80cef9a39768d0683a04c7ae32c17725036d /src/jogl/classes/jogamp
parentf10f0658a8e6e91684ab07573fafe20dd87219d3 (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 'src/jogl/classes/jogamp')
0 files changed, 0 insertions, 0 deletions