mirror of
https://github.com/Kiritow/MiniEngine.git
synced 2024-03-22 13:11:22 +08:00
19 lines
341 B
C++
19 lines
341 B
C++
#include "App.h"
|
|
|
|
using namespace Engine;
|
|
|
|
namespace App
|
|
{
|
|
/// Application Main Method
|
|
void Main()
|
|
{
|
|
Window wnd(1024,768);
|
|
Renderer rnd=wnd.getRenderer();
|
|
Texture text=rnd.loadImage("sample.jpg");
|
|
rnd.clear();
|
|
rnd.copyFullFill(text);
|
|
rnd.update();
|
|
SDL_Delay(3000);
|
|
}
|
|
}
|