Set macos_min_version to 10.12 by default

This commit is contained in:
Struma 2020-02-24 23:34:30 -05:00 committed by Roza
parent d854bc1c67
commit fbd6b0c5e5
2 changed files with 2 additions and 2 deletions

View file

@ -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')

View file

@ -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)