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

@@ -3,9 +3,9 @@ GEM
specs:
glu (8.2.2)
glu (8.2.2-x86-mingw32)
gosu (0.13.3)
gosu (0.13.3-x86-mingw32)
opengl-bindings (1.6.6)
gosu (0.14.0)
gosu (0.14.0-x86-mingw32)
opengl-bindings (1.6.7)
PLATFORMS
ruby
@@ -17,4 +17,4 @@ DEPENDENCIES
opengl-bindings
BUNDLED WITH
1.16.2
1.16.4

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