renderer structure
This commit is contained in:
10
src/main.cpp
10
src/main.cpp
@@ -13,7 +13,11 @@
|
||||
#include "display.hpp"
|
||||
#include "settings.hpp"
|
||||
|
||||
#include "Rendering/rendermaster.hpp"
|
||||
#include "Rendering/texture.hpp"
|
||||
#include "Rendering/camera.hpp"
|
||||
#include "Rendering/mesh.hpp"
|
||||
|
||||
|
||||
#define __DEBUG
|
||||
|
||||
@@ -39,6 +43,9 @@ void Loop( Display* display )
|
||||
{
|
||||
SDL_Event e;
|
||||
|
||||
|
||||
|
||||
|
||||
while ( display->IsWindowOpen )
|
||||
{
|
||||
display->PrepareFrame();
|
||||
@@ -49,6 +56,9 @@ void Loop( Display* display )
|
||||
// rendering here
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
display->NextFrame();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user