minor include stuff
This commit is contained in:
parent
0d1fc3ff4b
commit
65776eee8a
1 changed files with 6 additions and 3 deletions
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
#define GLFW_INCLUDE_NONE
|
#define GLFW_INCLUDE_NONE
|
||||||
#include <GLFW/glfw3.h>
|
#include <GLFW/glfw3.h>
|
||||||
#endif
|
#endif // RNT_NO_GFX
|
||||||
|
|
||||||
#define V_MAJOR "0"
|
#define V_MAJOR "0"
|
||||||
#define V_MINOR "2"
|
#define V_MINOR "2"
|
||||||
|
@ -46,8 +46,11 @@
|
||||||
#include "render.h"
|
#include "render.h"
|
||||||
#include "app_state.h"
|
#include "app_state.h"
|
||||||
|
|
||||||
// @Platform
|
#if defined(R__LINUX)
|
||||||
#include "platform_linux.h"
|
#include "platform_linux.h"
|
||||||
|
#else
|
||||||
|
#error "Unsupported platform"
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace chr = std::chrono;
|
namespace chr = std::chrono;
|
||||||
|
|
||||||
|
@ -60,7 +63,7 @@ namespace chr = std::chrono;
|
||||||
#ifndef RNT_NO_GFX
|
#ifndef RNT_NO_GFX
|
||||||
#include "render.cpp"
|
#include "render.cpp"
|
||||||
#include "mainloop.cpp"
|
#include "mainloop.cpp"
|
||||||
#endif
|
#endif // RNT_NO_GFX
|
||||||
|
|
||||||
internal
|
internal
|
||||||
void app_cleanup(App_State &app)
|
void app_cleanup(App_State &app)
|
||||||
|
|
Loading…
Reference in a new issue