From 859c9d7d55a9c9bab4dcf88a064e6d9befd71a35 Mon Sep 17 00:00:00 2001 From: Alsey Coleman Miller Date: Sat, 14 Dec 2024 19:53:25 -0500 Subject: [PATCH] Update example app --- Sources/SDLDemo/App.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/SDLDemo/App.swift b/Sources/SDLDemo/App.swift index cd8943c..55b60f4 100644 --- a/Sources/SDLDemo/App.swift +++ b/Sources/SDLDemo/App.swift @@ -26,7 +26,8 @@ struct SDLDemo { let window = try SDLWindow(title: "SDLDemo", frame: (x: .centered, y: .centered, width: windowSize.width, height: windowSize.height), - options: [.resizable, .shown]) + options: [.resizable, .shown, .opengl] + ) let framesPerSecond = try window.displayMode().refreshRate