summaryrefslogtreecommitdiffhomepage
path: root/mrblib/raylib.rb
diff options
context:
space:
mode:
Diffstat (limited to 'mrblib/raylib.rb')
-rw-r--r--mrblib/raylib.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/mrblib/raylib.rb b/mrblib/raylib.rb
index fb45ad8..7c8f6c2 100644
--- a/mrblib/raylib.rb
+++ b/mrblib/raylib.rb
@@ -19,5 +19,9 @@ module Raylib
def draw_text(text:, x:, y:, font_size:, color:)
self._draw_text(text, x, y, font_size, color)
end
+
+ def draw_texture(texture:, x:, y:, tint: Rl::Color.new(255,255,255,255))
+ self._draw_texture(texture, x, y, tint)
+ end
end
end