diff options
Diffstat (limited to 'mrblib/raylib.rb')
| -rw-r--r-- | mrblib/raylib.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrblib/raylib.rb b/mrblib/raylib.rb index 0e60abf..41249be 100644 --- a/mrblib/raylib.rb +++ b/mrblib/raylib.rb @@ -64,7 +64,7 @@ module Raylib end def draw_texture(texture:, x:, y:, tint: Rl::Color.new(255,255,255,255)) - self._draw_texture(texture, x, y, tint) + texture.draw(x, y, tint) end def draw_texture_ex(texture:, pos:, rotation: 0, scale: 1, tint: Rl::Color.new(255,255,255,255)) |
