summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorBrett Weiland <brett_weiland@gmail.com>2024-05-08 22:52:46 -0500
committerBrett Weiland <brett_weiland@gmail.com>2024-05-08 22:52:46 -0500
commit882999e591ece292d5ddbc87020ba70b3d2d1658 (patch)
treee09b8ccc68f447a096981355b4330c31b4fcb268 /main.c
parentae190c620265549ac2d355a94de19c905d54c2a0 (diff)
workspace
Diffstat (limited to 'main.c')
-rw-r--r--main.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/main.c b/main.c
new file mode 100644
index 0000000..b5dda5c
--- /dev/null
+++ b/main.c
@@ -0,0 +1,23 @@
+#include <stdio.h>
+#include "raylib.h"
+
+int main() {
+ const int size_x = 1920;
+ const int size_y = 1080;
+ Image image = GenImageColor(size_x, size_y, BLUE);
+
+ InitWindow(size_x, size_y, "cuda teseteroni");
+
+
+
+
+ if(!IsWindowFullscreen()) ToggleFullscreen();
+
+ while(!WindowShouldClose()) {
+ BeginDrawing();
+ DrawTexture(LoadTextureFromImage(image), 0, 0, WHITE);
+ EndDrawing();
+ }
+
+ return 0;
+}