mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
Change c.int to PixelFormat where appropriate
This commit is contained in:
Vendored
+2
-2
@@ -121,7 +121,7 @@ Image :: struct {
|
|||||||
width: c.int, // Image base width
|
width: c.int, // Image base width
|
||||||
height: c.int, // Image base height
|
height: c.int, // Image base height
|
||||||
mipmaps: c.int, // Mipmap levels, 1 by default
|
mipmaps: c.int, // Mipmap levels, 1 by default
|
||||||
format: c.int, // Data format (PixelFormat type)
|
format: PixelFormat, // Data format (PixelFormat type)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Texture type
|
// Texture type
|
||||||
@@ -131,7 +131,7 @@ Texture :: struct {
|
|||||||
width: c.int, // Texture base width
|
width: c.int, // Texture base width
|
||||||
height: c.int, // Texture base height
|
height: c.int, // Texture base height
|
||||||
mipmaps: c.int, // Mipmap levels, 1 by default
|
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
|
// Texture2D type, same as Texture
|
||||||
|
|||||||
Reference in New Issue
Block a user