[Feat] (MG_State/Program): glShaderSource, glUseProgram

This commit is contained in:
2025-08-11 16:47:18 +08:00
parent 7517711308
commit 21a46ee151
7 changed files with 49 additions and 2 deletions
+4
View File
@@ -187,6 +187,10 @@ namespace MobileGL {
SharedPtr<ShaderObject> GLContext::GetShaderObject(const Uint index) {
return m_programState.GetShaderObject(index);
}
void GLContext::UseProgram(Uint program) {
return m_programState.UseProgram(program);
}
} // namespace GLState
GLState::GLContext* pGLContext;