Change c.int to PixelFormat where appropriate

This commit is contained in:
gingerBill
2021-10-02 23:58:40 +01:00
parent a971fb6e94
commit b3a66b3950

View File

@@ -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