mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-10 21:28:32 +09:00
[Fix] (MG_State/Program): fix ubo name mistaken for uniform name
This commit is contained in:
@@ -94,7 +94,7 @@ namespace MobileGL {
|
||||
|
||||
|
||||
const String& GetUniformBlockName(Uint index) const {
|
||||
auto& ubo = m_program->getUniform(index);
|
||||
auto& ubo = m_program->getUniformBlock(index);
|
||||
return ubo.name;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user