Removed redundant glError? from Map class and renamed CommonMethods#glError? to #gl_error?, added debug settings for disabling shaders and whether to exit on opengl error

This commit is contained in:
2020-01-27 22:19:07 -06:00
parent 75f94963b2
commit e7b84bd123
8 changed files with 34 additions and 31 deletions

View File

@@ -17,11 +17,15 @@ class IMICFPS
set(:stats, false)
set(:fps, false)
set(:skydome, true)
set(:use_shaders, true)
set(:opengl_error_panic, false)
subcommand(:boundingboxes, :boolean)
subcommand(:wireframe, :boolean)
subcommand(:stats, :boolean)
subcommand(:skydome, :boolean)
subcommand(:use_shaders, :boolean)
subcommand(:opengl_error_panic, :boolean)
end
def handle(arguments, console)
@@ -33,4 +37,4 @@ class IMICFPS
end
end
end
end
end