"Bill Hails" <bil### [at] europe yahoo-inc com> schrieb im Newsbeitrag
news:40483d07@news.povray.org...
> Hi,
> during my first delve into the source to investigate a problem I
> was having, I spotted this
>
>         static TEXTURE *warpNormalTextureList[MAX_NESTED_TEXTURES];
>
> and later on
>         if(warpNormalTextures>MAX_NESTED_TEXTURES)
>             Error("Too many nested textures.");
>         warpNormalTextureList[warpNormalTextures++] = Texture;
>
> that should be
>
>         if(warpNormalTextures>=MAX_NESTED_TEXTURES)
>
> unless I'm very much mistaken.
> It occurs in 4 places.
Thanks, I will take care of it.
    Thorsten
 
 Post a reply to this message 
 |