[Feat] (...): Basic ability to load GLES/EGL.

This commit is contained in:
BZLZHH
2025-10-06 11:47:27 +08:00
parent 7275df3d60
commit e37dedb72d
12 changed files with 263 additions and 39 deletions
+5
View File
@@ -2,6 +2,11 @@
namespace MobileGL {
namespace MG_State {
void Init() {
MGLOG_D("Initializing MobileGL State...");
pGLContext = new MG_State::GLState::GLContext();
}
namespace GLState {
// Error
void GLContext::RecordError(ErrorCode code, SharedPtr<ErrorInfo> info) {
+2
View File
@@ -11,6 +11,8 @@
namespace MobileGL {
namespace MG_State {
void Init();
namespace GLState {
class GLContext {
public: