From 088e8b230a91df52ccd6d958bf6a8faab4efa97d Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 5 Nov 2023 18:12:38 -0800 Subject: [PATCH] apprt: default runtime for windows is glfw --- src/apprt.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/apprt.zig b/src/apprt.zig index a828e1a4c..39f01276d 100644 --- a/src/apprt.zig +++ b/src/apprt.zig @@ -57,6 +57,9 @@ pub const Runtime = enum { // The Linux default is GTK because it is full featured. if (target.isLinux()) return .gtk; + // Windows we currently only support glfw + if (target.isWindows()) return .glfw; + // Otherwise, we do NONE so we don't create an exe. The GLFW // build is opt-in because it is missing so many features compared // to the other builds that are impossible due to the GLFW interface.