summaryrefslogtreecommitdiff
path: root/examples/window.scm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/window.scm')
-rw-r--r--examples/window.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/window.scm b/examples/window.scm
new file mode 100644
index 0000000..ea68079
--- /dev/null
+++ b/examples/window.scm
@@ -0,0 +1,6 @@
+(use-modules (sdl3)
+ (sdl3 video))
+
+(define window (make-window "Hello" 640 480))
+(sleep 3)
+(destroy-window! window)