Update gosu and opengl-bindings, added bold defualt for Text

This commit is contained in:
2018-09-17 17:13:52 -05:00
parent 54c480ecb8
commit aa4a905bd8
2 changed files with 5 additions and 5 deletions

View File

@@ -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