mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 13:48:30 +09:00
[Refactor] (All): Restructure include system.
This commit is contained in:
+16
-26
@@ -1,32 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#define MOBILEGL_LOG_ACTIVE_LEVEL MOBILEGL_LOG_LEVEL_DEBUG
|
||||
|
||||
#define MOBILEGL_LOG_ENABLE_CONSOLE 0
|
||||
#define MOBILEGL_LOG_ENABLE_FILE 1
|
||||
#define MOBILEGL_LOG_ENABLE_ANDROID 1
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#define MOBILEGL_LOG_FILE_PATH "/sdcard/MG/latest.log"
|
||||
#else
|
||||
#define MOBILEGL_LOG_FILE_PATH ""
|
||||
#endif
|
||||
#include <Includes.h>
|
||||
#include <MG_Backend/Backends.h>
|
||||
|
||||
namespace MobileGL {
|
||||
namespace MG_Config {
|
||||
inline const String ProjectName = "MobileGL";
|
||||
inline const String CoreName = "MobileGL Core";
|
||||
inline const String CoreVendor = "MobileGL-Dev";
|
||||
inline const Version CoreVersion = { 1, 0, 0, "-Dev" };
|
||||
extern RendererInfo* RendererInfoPtr;
|
||||
namespace MG_Config {
|
||||
inline const String ProjectName = "MobileGL";
|
||||
inline const String CoreName = "MobileGL Core";
|
||||
inline const String CoreVendor = "MobileGL-Dev";
|
||||
inline const Version CoreVersion = {1, 0, 0, "-Dev"};
|
||||
extern RendererInfo* RendererInfoPtr;
|
||||
|
||||
namespace Backend {
|
||||
namespace Backend {
|
||||
#define MOBILEGL_BACKEND MOBILEGL_BACKEND_UNKNOWN
|
||||
|
||||
namespace Diligent {
|
||||
inline const MG_Backend::Diligent::SpecificBackendType SpecificBackend =
|
||||
MG_Backend::Diligent::SpecificBackendType::Vulkan;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace Diligent {
|
||||
inline const MG_Backend::Diligent::SpecificBackendType SpecificBackend =
|
||||
MG_Backend::Diligent::SpecificBackendType::Vulkan;
|
||||
}
|
||||
} // namespace Backend
|
||||
} // namespace MG_Config
|
||||
} // namespace MobileGL
|
||||
Reference in New Issue
Block a user