Change c.int to PixelFormat where appropriate
This commit is contained in:
1 parent
a971fb6e94
commit
b3a66b3950
1 file changed
+2
-2
Vendored
+2
-2
@@ -121,7 +121,7 @@ Image :: struct {
|
||||
width: c.int, // Image base width
|
||||
height: c.int, // Image base height
|
||||
mipmaps: c.int, // Mipmap levels, 1 by default
|
||||
format: c.int, // Data format (PixelFormat type)
|
||||
format: PixelFormat, // Data format (PixelFormat type)
|
||||
}
|
||||
|
||||
// Texture type
|
||||
@@ -131,7 +131,7 @@ Texture :: struct {
|
||||
width: c.int, // Texture base width
|
||||
height: c.int, // Texture base height
|
||||
mipmaps: c.int, // Mipmap levels, 1 by default
|
||||
format: c.int, // Data format (PixelFormat type)
|
||||
format: PixelFormat, // Data format (PixelFormat type)
|
||||
}
|
||||
|
||||
// Texture2D type, same as Texture
|
||||
|
||||
Reference in new issue
Block a user