Texture member functions
This commit is contained in:
parent
8a2cd7dce2
commit
2578dceb42
4 changed files with 90 additions and 2 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue