mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-13 22:08:34 +00:00
Work around awkward GLSL compiler bug on iOS.
This commit is contained in:
parent
070481f654
commit
184e407e5d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user