mirror of
https://github.com/MobileGL-Dev/MobileGlues.git
synced 2025-09-22 02:32:29 -04:00
[Release] (version.h|getter.cpp): Version dump to 1.0.3.1.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
This commit is contained in:
parent
8e200f3961
commit
71e3fedb64
@ -197,6 +197,9 @@ const GLubyte * glGetString( GLenum name ) {
|
||||
std::string realVersion = " " + std::to_string(MAJOR) + "." +
|
||||
std::to_string(MINOR) + "." +
|
||||
std::to_string(REVISION);
|
||||
if (PATCH) {
|
||||
realVersion += "." + std::to_string(PATCH);
|
||||
}
|
||||
std::string suffix = realVersion + (version_type == VERSION_ALPHA ? " | §4§l如果您在公开平台看到这一提示, 则发布者已违规!§r" :
|
||||
std::string(version_type == VERSION_DEVELOPMENT?".Dev":""));
|
||||
versionString += suffix;
|
||||
|
@ -11,6 +11,7 @@
|
||||
#define MAJOR 1
|
||||
#define MINOR 0
|
||||
#define REVISION 3
|
||||
#define PATCH 1
|
||||
|
||||
const int version_type = VERSION_RELEASE;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user