From e09d6a4daa7f872c022fdc4827d5c42229cdb1f0 Mon Sep 17 00:00:00 2001 From: Markus Stephanides Date: Thu, 22 May 2025 19:07:30 +0200 Subject: [PATCH] Add STAThread notice to README (#302) --- 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");