mineschemer/main.c

21 lines
402 B
C
Raw Normal View History

2023-12-21 14:30:43 -05:00
#include "raylib.h"
int main() {
InitWindow(100, 100, "hello from C");
Texture2D texture = LoadTexture("skins/xp-flowers.bmp");
SetTargetFPS(120);
while (!WindowShouldClose()) {
BeginDrawing();
ClearBackground(RAYWHITE);
DrawTexture(texture, 50, 50, WHITE);
EndDrawing();
}
UnloadTexture(texture);
CloseWindow();
return 0;
}