Browse Source

Change `c.int` to `PixelFormat` where appropriate

gingerBill 3 years ago
parent
commit
b3a66b3950
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vendor/raylib/raylib.odin

+ 2 - 2
vendor/raylib/raylib.odin

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