diff options
author | David Thompson <dthompson2@worcester.edu> | 2024-10-02 21:22:19 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2024-10-19 21:49:01 -0400 |
commit | 9b1d91b4c68477145434021ea7392c16d849ebaa (patch) | |
tree | 3e6c3934c530d4cc79a85adc95729f8da2af61c3 /examples/window.scm |
First commit!main
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) |