mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 04:08:32 +09:00
[Fix] (ProgramState): Fix the uniform-type-changing error in UniformValue::setData.
This commit is contained in:
@@ -464,7 +464,7 @@ void ProgramState::CleanupShaders_() {
|
||||
template<typename T>
|
||||
void UniformValue::setData(GLenum uniformType, GLsizei numElements, const T* values) {
|
||||
MG_Util::Debug::LogD("MG_State: Program: UniformValue::setData called, type=0x%X, count=%d", uniformType, numElements);
|
||||
type = uniformType;
|
||||
//type = uniformType;
|
||||
count = numElements;
|
||||
|
||||
floatData.clear();
|
||||
|
||||
Reference in New Issue
Block a user