Fix uniform set for mat3 and mat4
This commit is contained in:
parent
b911165679
commit
477f496162
1 changed files with 2 additions and 2 deletions
|
@ -300,7 +300,7 @@ public:
|
||||||
case ShaderLanguage::TYPE_MAT3: {
|
case ShaderLanguage::TYPE_MAT3: {
|
||||||
GLfloat mat[9];
|
GLfloat mat[9];
|
||||||
|
|
||||||
for (int i = 0; i < 0; i++) {
|
for (int i = 0; i < 9; i++) {
|
||||||
mat[i] = values[i].real;
|
mat[i] = values[i].real;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -311,7 +311,7 @@ public:
|
||||||
case ShaderLanguage::TYPE_MAT4: {
|
case ShaderLanguage::TYPE_MAT4: {
|
||||||
GLfloat mat[16];
|
GLfloat mat[16];
|
||||||
|
|
||||||
for (int i = 0; i < 0; i++) {
|
for (int i = 0; i < 16; i++) {
|
||||||
mat[i] = values[i].real;
|
mat[i] = values[i].real;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue