diff options
author | turnipgod | 2025-03-01 18:50:06 -0500 |
---|---|---|
committer | turnipgod | 2025-03-01 18:50:06 -0500 |
commit | ee90c1c219403778425a66fe5105646fca237b54 (patch) | |
tree | 57c77802f2421d9d1e6d2634f33fb6865e590ef2 /src |
init commit
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 18 |
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; +} |