From 2aa20f1f2794c66e3aace93e57b250dba88b5ea0 Mon Sep 17 00:00:00 2001 From: Markus Stephanides Date: Tue, 13 May 2025 07:49:45 +0200 Subject: [PATCH] Add STAThread notice to README --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2817b99..6f0a1c7 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,8 @@ namespace HelloWorld; class Program { + // STAThread is required if you deploy using NativeAOT on Windows - See https://github.com/raylib-cs/raylib-cs/issues/301 + [STAThread] public static void Main() { Raylib.InitWindow(800, 480, "Hello World");