Cycles: Fix unneeded int/float conversion happened in previous commit

This commit is contained in:
Sergey Sharybin 2015-01-02 17:21:24 +05:00
parent 4f2583ee13
commit 2a8a56929b
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ void triangle_intersect_precalc(float3 dir,
/* Swap kx and ky dimensions to preserve winding direction of triangles. */
if(IDX(dir, kz) < 0.0f) {
float tmp = kx;
int tmp = kx;
kx = ky;
kx = tmp;
}