Continuation of the previous commit. I missed a integer.
This commit is contained in:
parent
6194234a54
commit
83a79c28ca
|
@ -246,7 +246,7 @@ void WriteSampleColor(char*& p, const char* colorComp, const char* dest, API_TYP
|
||||||
else
|
else
|
||||||
texSampleIncrementUnit = I_COLORS"[0].x";
|
texSampleIncrementUnit = I_COLORS"[0].x";
|
||||||
|
|
||||||
WRITE(p, " %s = %s(samp0, sampleUv + float2(%d.0f * (%s), 0)).%s;\n",
|
WRITE(p, " %s = %s(samp0, sampleUv + float2(%d.0f * (%s), 0.0f)).%s;\n",
|
||||||
dest, texSampleOpName, s_incrementSampleXCount, texSampleIncrementUnit, colorComp);
|
dest, texSampleOpName, s_incrementSampleXCount, texSampleIncrementUnit, colorComp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue