More defer

This commit is contained in:
Not-Nik 2023-07-20 16:23:41 +02:00
parent 183cc437ac
commit f50189fdd0
Failed to generate hash of commit
12 changed files with 21 additions and 64 deletions

View file

@ -222,7 +222,7 @@ pub const Texture = extern struct {
mipmaps: c_int,
format: c_int,
pub fn init(fileName: []const u8) Texture {
pub fn init(fileName: [:0]const u8) Texture {
return rl.loadTexture(fileName);
}