[Feat] (MG_State/Program): Get current program

This commit is contained in:
2025-08-21 22:48:20 +08:00
parent 2617903e71
commit 476de2b8f7
6 changed files with 75 additions and 9 deletions
+4
View File
@@ -191,6 +191,10 @@ namespace MobileGL {
void GLContext::UseProgram(Uint program) {
return m_programState.UseProgram(program);
}
SharedPtr<ProgramObject> GLContext::GetCurrentProgram() {
return m_programState.GetCurrentProgram();
}
} // namespace GLState
GLState::GLContext* pGLContext;