Texture member functions

This commit is contained in:
Not-Nik 2023-07-11 15:39:11 +02:00
parent 8a2cd7dce2
commit 2578dceb42
Failed to generate hash of commit
4 changed files with 90 additions and 2 deletions

View file

@ -53,7 +53,7 @@ pub fn main() anyerror!void {
rl.beginShaderMode(shdrOutline);
rl.drawTexture(texture, @divFloor(rl.getScreenWidth(), 2) - @divFloor(texture.width, 2), -30, rl.Color.white);
texture.draw(@divFloor(rl.getScreenWidth(), 2) - @divFloor(texture.width, 2), -30, rl.Color.white);
rl.endShaderMode();