diff --git a/meson_options.txt b/meson_options.txt index 86cd632c..9717309d 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,7 +1,7 @@ option('mri_version', type: 'string', value: '1.8', description: 'Version of MRI to link with') option('mk', type: 'boolean', value: false, description: 'Build to fit Marin\'s MK standard') option('console', type: 'boolean', value: true, description: 'Whether to debug information in the console') -option('macos_min_version', type: 'string', value: '10.10', description: 'Minimum macOS system version to support') +option('macos_min_version', type: 'string', value: '10.12', description: 'Minimum macOS system version to support') option('threaded_gl_init', type: 'boolean', value: true, description: 'Init GL on secondary thread') option('gl3', type: 'boolean', value: false, description: 'Use OpenGL 3.3 instead of 4.1') diff --git a/src/gl-fun.cpp b/src/gl-fun.cpp index f8246af1..709d2bdf 100644 --- a/src/gl-fun.cpp +++ b/src/gl-fun.cpp @@ -99,7 +99,7 @@ void initGLFunctions() int glMajor = *ver - '0'; int glMinor = ver[2] - '0'; - if (glMajor < Z_GL_MAJOR || glMajor < Z_GL_MINOR) + if (glMajor < Z_GL_MAJOR || glMinor < Z_GL_MINOR) throw EXC("Insufficient OpenGL version"); if (gles)