21 lines
335 B
C++
21 lines
335 B
C++
|
#include <raylib.h>
|
||
|
|
||
|
int main (int argc, char *argv[])
|
||
|
{
|
||
|
auto img = LoadImage("data/img.jpg");
|
||
|
|
||
|
InitWindow(img.width, img.height, "");
|
||
|
SetTargetFPS(60);
|
||
|
|
||
|
while (!WindowShouldClose())
|
||
|
{
|
||
|
BeginDrawing();
|
||
|
ClearBackground(WHITE);
|
||
|
EndDrawing();
|
||
|
}
|
||
|
|
||
|
CloseWindow();
|
||
|
|
||
|
return 0;
|
||
|
}
|