mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 23:52:35 +00:00
Update gosu and opengl-bindings, added bold defualt for Text
This commit is contained in:
@@ -54,7 +54,7 @@ class Text
|
||||
end
|
||||
|
||||
unless available
|
||||
font = Gosu::Font.new(@size, name: @font)
|
||||
font = Gosu::Font.new(@size, name: @font, bold: true)
|
||||
CACHE[@size] = {} unless CACHE[@size].is_a?(Hash)
|
||||
CACHE[@size][@font] = font
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user