mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
Update gosu and opengl-bindings, added bold defualt for Text
This commit is contained in:
@@ -3,9 +3,9 @@ GEM
|
|||||||
specs:
|
specs:
|
||||||
glu (8.2.2)
|
glu (8.2.2)
|
||||||
glu (8.2.2-x86-mingw32)
|
glu (8.2.2-x86-mingw32)
|
||||||
gosu (0.13.3)
|
gosu (0.14.0)
|
||||||
gosu (0.13.3-x86-mingw32)
|
gosu (0.14.0-x86-mingw32)
|
||||||
opengl-bindings (1.6.6)
|
opengl-bindings (1.6.7)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
ruby
|
ruby
|
||||||
@@ -17,4 +17,4 @@ DEPENDENCIES
|
|||||||
opengl-bindings
|
opengl-bindings
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.16.2
|
1.16.4
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ class Text
|
|||||||
end
|
end
|
||||||
|
|
||||||
unless available
|
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] = {} unless CACHE[@size].is_a?(Hash)
|
||||||
CACHE[@size][@font] = font
|
CACHE[@size][@font] = font
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user