mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user