瀏覽代碼

Added comment on SetConfigFlags in Raylib bindings that it must be called before window creation

Karl Zylinski 1 年之前
父節點
當前提交
46f46e645c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      vendor/raylib/raylib.odin

+ 1 - 1
vendor/raylib/raylib.odin

@@ -1085,7 +1085,7 @@ foreign lib {
 
 	// Misc. functions
 	TakeScreenshot :: proc(fileName: cstring) ---        // Takes a screenshot of current screen (filename extension defines format)
-	SetConfigFlags :: proc(flags: ConfigFlags) ---       // Setup init configuration flags (view FLAGS)
+	SetConfigFlags :: proc(flags: ConfigFlags) ---       // Setup init configuration flags (view FLAGS). NOTE: This function is expected to be called before window creation
 	OpenURL        :: proc(url: cstring) ---             // Open URL with default system browser (if available)
 
 	// NOTE: Following functions implemented in module [utils]