summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorauric <104602845+ihateamongus@users.noreply.github.com>2025-09-06 21:42:34 -0500
committerGitHub <noreply@github.com>2025-09-06 21:42:34 -0500
commitcf1f8dd8b8be5e3735a9fd95e80ea60d0b704b5a (patch)
tree12e0f7f5525febfba5fb27f728da611987137f95 /README.md
parent223ac3c36c4d5059d49dc453695e65d6dab1a746 (diff)
parent54429ac1abe5c4a7b6ada64e71f9a6e5cee79b59 (diff)
Merge pull request #1 from ihateamongus/codex/create-c/opengl-windowmain
Add GLFW OpenGL window example
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6238c22..833a9c7 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,15 @@
# opentest
-Bloon test
+
+Sample OpenGL window example using GLFW.
+
+Compile on macOS:
+
+```
+clang main.c -o ogl_example -lglfw -framework OpenGL
+```
+
+Run:
+
+```
+./ogl_example
+```