mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 07:32:35 +00:00
Update gosu and opengl-bindings, added bold defualt for Text
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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