diff --git a/src/main/cpp/gl/getter.cpp b/src/main/cpp/gl/getter.cpp index a696211..6748a99 100644 --- a/src/main/cpp/gl/getter.cpp +++ b/src/main/cpp/gl/getter.cpp @@ -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; diff --git a/src/main/cpp/version.h b/src/main/cpp/version.h index 063bfda..60a48d5 100644 --- a/src/main/cpp/version.h +++ b/src/main/cpp/version.h @@ -11,6 +11,7 @@ #define MAJOR 1 #define MINOR 0 #define REVISION 3 +#define PATCH 1 const int version_type = VERSION_RELEASE;