Added shader support, removed unused debugging puts statements and fixed Gosu Font.draw deprecation warning.

This commit is contained in:
2018-12-10 18:50:25 -06:00
parent 74b0a0ef6f
commit 4d8638d81c
13 changed files with 201 additions and 29 deletions

View File

@@ -37,7 +37,7 @@ class IMICFPS
if CACHE[@type].is_a?(Hash)
if CACHE[@type][@file_path]
@model = CACHE[@type][@file_path]#.dup # Don't know why, but adding .dup improves performance with Sponza (1 fps -> 20 fps)
puts "Used cached model for: #{@file_path.split('/').last}"
# puts "Used cached model for: #{@file_path.split('/').last}"
found = true
end
end