mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 09:32:52 +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 transpose_(mat4 matrix)
|
||||||
{
|
{
|
||||||
mat4 ret;
|
mat4 ret;
|
||||||
for (int i = 0; i < 4; i++)
|
for (int i = 0; i != 4; i++)
|
||||||
for (int j = 0; j < 4; j++)
|
for (int j = 0; j != 4; j++)
|
||||||
ret[i][j] = matrix[j][i];
|
ret[i][j] = matrix[j][i];
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user