[Feat] (...): Add global OpenGL state. Add gl texture state (almost complete for Minecraft) and implementation gl texture functions that Minecraft would use. Add gl error state.

This commit is contained in:
BZLZHH
2025-04-04 23:02:59 +08:00
parent c291f513ca
commit 41fefb8e54
13 changed files with 1343 additions and 20 deletions
+6
View File
@@ -7,4 +7,10 @@
__attribute__((constructor)) void MG_Initialize() {
MG_Util::Debug::LogInit();
MG_Util::Debug::LogI("MobileGL Initializing...");
MG_State::Init();
}
__attribute__((destructor)) void MG_Destroy() {
MG_Util::Debug::LogI("MobileGL Exiting...");
MG_State::Destroy();
}