summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..d61885b
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,18 @@
+#include "raylib.h"
+
+int main(void)
+{
+ InitWindow(800, 450, "raylib [core] example - basic window");
+
+ while (!WindowShouldClose())
+ {
+ BeginDrawing();
+ ClearBackground(RAYWHITE);
+ DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY);
+ EndDrawing();
+ }
+
+ CloseWindow();
+
+ return 0;
+}