소스 검색

Correct `SDL.OpenURL`

gingerBill 4 년 전
부모
커밋
3e459ba16b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      vendor/sdl2/sdl2.odin

+ 1 - 1
vendor/sdl2/sdl2.odin

@@ -206,7 +206,7 @@ foreign lib {
 
 @(default_calling_convention="c", link_prefix="SDL_")
 foreign lib {
-	SDL_OpenURL :: proc(url: rawptr) -> c.int ---
+	OpenURL :: proc(url: cstring) -> c.int ---
 }
 
 // platform