mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 04:08:32 +09:00
42 lines
1.0 KiB
C++
42 lines
1.0 KiB
C++
//
|
|
// Created by BZLZHH on 2025/3/15.
|
|
//
|
|
|
|
#ifndef MOBILEGL_GLOBAL_H
|
|
#define MOBILEGL_GLOBAL_H
|
|
|
|
#include "Includes.h"
|
|
|
|
namespace MG_Global {
|
|
namespace MG {
|
|
inline const int VersionMajor = 1;
|
|
inline const int VersionMinor = 0;
|
|
inline const int VersionRevision = 0;
|
|
inline const int VersionPatch = 0;
|
|
inline const std::string VersionSuffix = "-Dev";
|
|
}
|
|
|
|
namespace Backend {
|
|
// BACKEND_TYPE is defined in Includes.h
|
|
}
|
|
|
|
namespace GL {
|
|
inline const int GLVersionMajor = 3;
|
|
inline const int GLVersionMinor = 2;
|
|
inline const int GLVersionRevision = 0;
|
|
}
|
|
|
|
namespace Common {
|
|
inline constexpr int LogLevel = MG_Constants::Common::LOG_LEVEL_INFO;
|
|
inline constexpr int LogTarget = MG_Constants::Common::LOG_TARGET_ALL;
|
|
|
|
#ifdef __ANDROID__
|
|
inline const char* LOG_FILE_PATH = "/sdcard/MG/latest.log";
|
|
#else
|
|
inline const char* LOG_FILE_PATH = nullptr;
|
|
#endif
|
|
}
|
|
}
|
|
|
|
#endif //MOBILEGL_GLOBAL_H
|