diff options
Diffstat (limited to 'examples/window.scm')
-rw-r--r-- | examples/window.scm | 7 |
1 files changed, 7 insertions, 0 deletions
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) |