mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-18 20:40:28 +00:00
Change c.int to PixelFormat where appropriate
This commit is contained in:
4
vendor/raylib/raylib.odin
vendored
4
vendor/raylib/raylib.odin
vendored
@@ -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