Correctly call image functions from members
This commit is contained in:
parent
f661b47df7
commit
5050957b56
2 changed files with 5 additions and 5 deletions
|
|
@ -393,7 +393,7 @@ pub const Image = extern struct {
|
|||
}
|
||||
|
||||
pub fn drawRectangleLines(self: *Image, rec: Rectangle, thick: i32, color: Color) void {
|
||||
rl.imageDrawRectangleLines(self, rec, @as(c_int, thick), color);
|
||||
rl.imageDrawRectangleLines(self, rec, thick, color);
|
||||
}
|
||||
|
||||
pub fn drawImage(self: *Image, src: Image, srcRec: Rectangle, dstRec: Rectangle, t: Color) void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue