Looky, OSX found an issue for me.
This commit is contained in:
parent
636d6a915d
commit
3513dd7115
|
@ -727,7 +727,7 @@ const char *GeneratePixelShaderCode(DSTALPHA_MODE dstAlphaMode, API_TYPE ApiType
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
for (unsigned int i = 0; i < xfregs.numTexGen.numTexGens; ++i)
|
for (unsigned int i = 0; i < xfregs.numTexGen.numTexGens; ++i)
|
||||||
WRITE(p, " float%d uv%d = gl_TexCoord[%d]%s;\n", i < 4 ? 4 : 3 , i, i, i < 4 ? ".xyz" : "");
|
WRITE(p, " float%d uv%d = gl_TexCoord[%d]%s;\n", i < 4 ? 4 : 3 , i, i, i < 4 ? "" : ".xyz");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
WRITE(p, "void main()\n{\n");
|
WRITE(p, "void main()\n{\n");
|
||||||
|
|
Loading…
Reference in New Issue