2
0
Эх сурвалжийг харах

Make SDL_image.Init return `InitFlags`

gingerBill 4 жил өмнө
parent
commit
7bdbaca938

+ 1 - 1
vendor/sdl2/image/sdl_image.odin

@@ -49,7 +49,7 @@ GetError :: SDL.GetError;
 
 @(default_calling_convention="c", link_prefix="IMG_")
 foreign lib {
-	Init :: proc(flags: InitFlags) -> c.int ---
+	Init :: proc(flags: InitFlags) -> InitFlags ---
 	Quit :: proc() ---
 
 	/* Load an image from an SDL data source.