Work around awkward GLSL compiler bug on iOS.

This commit is contained in:
Themaister 2013-05-31 14:04:20 +02:00
parent 070481f654
commit 184e407e5d

View File

@ -327,8 +327,8 @@ def hack_source_vertex(source):
mat4 transpose_(mat4 matrix)
{
mat4 ret;
for (int i = 0; i < 4; i++)
for (int j = 0; j < 4; j++)
for (int i = 0; i != 4; i++)
for (int j = 0; j != 4; j++)
ret[i][j] = matrix[j][i];
return ret;