1. Jason McKesson
  2. glLoadGen

Commits

Jason McKesson  committed b25f381

Fix for issue #8

  • Participants
  • Parent commits 0dd7ffe
  • Branches default

Comments (0)

Files changed (1)

File modules/Specs.lua

View file
  • Ignore whitespace
 --Validate the options.
 function gl_spec.VerifyOptions(options, parseOpts)
 	if(options.profile == "compatibility") then
-		parseOpts:AssertParse(options.version >= 3.0, "The OpenGL compatibility profile cannot be used with version " .. options.version)
+		parseOpts:AssertParse(tonumber(options.version) >= 3.0, "The OpenGL compatibility profile cannot be used with version " .. options.version)
 	end
 end