[nostaliga/core] Add Drawer system and make ImGui use configurable

This commit is contained in:
2021-07-17 18:13:28 -05:00
parent d3a3d57773
commit 0420dfb545
6 changed files with 65 additions and 23 deletions
+13
View File
@@ -8,12 +8,25 @@
#pragma once
#if __has_include(<imgui.h>)
#define IMGUI_IMPL_OPENGL_ES3
#include <imgui_impl_opengl3.h>
#include <imgui_impl_glfw.h>
#endif
#include <ox/std/types.hpp>
namespace nostalgia::core {
namespace config {
constexpr auto ImGuiEnabled =
#if __has_include(<imgui.h>)
true;
#else
false;
#endif
enum class SdlVsync {
Adaptive = -1,
Off = 0,