1
0

Fixed typo causing buggy code.

This commit is contained in:
Alexander Harkness 2013-11-16 18:37:43 +00:00
parent f217981de9
commit d3360051b1

View File

@ -179,7 +179,7 @@ template<typename TYPE> void LinearUpscale3DArray(
// Pre-calculate the upscaling ratios:
TYPE RatioX[MAX_UPSCALE_X];
TYPE RatioY[MAX_UPSCALE_Y];
TYPE RatioZ[MAX_UPSCALE_Y];
TYPE RatioZ[MAX_UPSCALE_Z];
for (int x = 0; x <= a_UpscaleX; x++)
{
RatioX[x] = (TYPE)x / a_UpscaleX;