From 9b1d91b4c68477145434021ea7392c16d849ebaa Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 2 Oct 2024 21:22:19 -0400 Subject: First commit! --- examples/window.scm | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 examples/window.scm (limited to 'examples/window.scm') diff --git a/examples/window.scm b/examples/window.scm new file mode 100644 index 0000000..0a4d3f0 --- /dev/null +++ b/examples/window.scm @@ -0,0 +1,7 @@ +(use-modules (sdl3) + (sdl3 video)) + +(sdl-init) +(define window (make-window "Hello" 640 480)) +(sleep 3) +(destroy-window! window) -- cgit v1.2.3