Fixed typo causing buggy code.
This commit is contained in:
parent
f217981de9
commit
d3360051b1
|
@ -179,7 +179,7 @@ template<typename TYPE> void LinearUpscale3DArray(
|
||||||
// Pre-calculate the upscaling ratios:
|
// Pre-calculate the upscaling ratios:
|
||||||
TYPE RatioX[MAX_UPSCALE_X];
|
TYPE RatioX[MAX_UPSCALE_X];
|
||||||
TYPE RatioY[MAX_UPSCALE_Y];
|
TYPE RatioY[MAX_UPSCALE_Y];
|
||||||
TYPE RatioZ[MAX_UPSCALE_Y];
|
TYPE RatioZ[MAX_UPSCALE_Z];
|
||||||
for (int x = 0; x <= a_UpscaleX; x++)
|
for (int x = 0; x <= a_UpscaleX; x++)
|
||||||
{
|
{
|
||||||
RatioX[x] = (TYPE)x / a_UpscaleX;
|
RatioX[x] = (TYPE)x / a_UpscaleX;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user