[Docs|Improvement] (...): Add LICENSE and README.md. Modify some texts.

Signed-off-by: BZLZHH <admin@bzlzhh.top>
This commit is contained in:
BZLZHH
2025-03-23 08:49:50 +08:00
parent a60bc2644d
commit 8374a88731
4 changed files with 480 additions and 3 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ namespace MG_GL::Getter {
backendVersion = "<Unknown Backend>";
#endif
MG_Util::Debug::LogI("MobileGL Renderer Info:\n");
MG_Util::Debug::LogI("MobileGL Renderer Info:");
MG_Util::Debug::LogI("----%s:", MGName.c_str());
MG_Util::Debug::LogI("--------MobileGL Version: %s", MGVersion.c_str());
MG_Util::Debug::LogI("--------Implemented OpenGL Version: %s", GLVersion.c_str());
+2 -2
View File
@@ -115,9 +115,9 @@ void Log##name(const char* format, ...) { \
void LogInit() {
if (!MG_Global::Common::LOG_FILE_PATH)
return;
logFile = fopen(MG_Global::Common::LOG_FILE_PATH, "a");
LogClear();
logFile = fopen(MG_Global::Common::LOG_FILE_PATH, "a");
}
void LogWrite(const char* format, ...) {