macOS: Fix problems with OpenGL context creation on macOS
Fixes #5811 (closed)
-
The GL version reported by
epoxyseems to depend on the current GL context, so the GL context to create should be the one determined bygdk_gl_context_get_matching_versionIn my environment, the call to
gdk_gl_context_get_matching_versionreports GL version3.2, and the call togdk_gl_version_init_epoxyreports GL version4.1, I believe this move is in line with the original intent of using the best possible GL version. -
Fix a bug in error checking conditions. This avoids unintentional
Legacyof the created OpenGL context.
Related:
Edited by sumibi-yakitori
