feat: raylib setup
This commit is contained in:
19
src/main.c
19
src/main.c
@@ -1,6 +1,21 @@
|
||||
#include <stdio.h>
|
||||
#include <raylib.h>
|
||||
|
||||
#define WIDTH 800
|
||||
#define HEIGHT 600
|
||||
|
||||
int main(void)
|
||||
{
|
||||
InitWindow(WIDTH, HEIGHT, "Wallpaper");
|
||||
|
||||
while (!WindowShouldClose())
|
||||
{
|
||||
BeginDrawing();
|
||||
|
||||
ClearBackground(RED);
|
||||
|
||||
EndDrawing();
|
||||
}
|
||||
|
||||
int main(void) {
|
||||
printf("Ok\n");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user