Disables the sky clamp hack for ART parallaxed skies in polymost.

git-svn-id: https://svn.eduke32.com/eduke32@620 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
plagman 2008-02-18 07:09:18 +00:00
parent b3677fc796
commit 3ca6158794

View file

@ -3037,7 +3037,7 @@ static void polymost_drawalls(int bunch)
//Use clamping for tiled sky textures //Use clamping for tiled sky textures
for (i=(1<<pskybits)-1;i>0;i--) for (i=(1<<pskybits)-1;i>0;i--)
if (pskyoff[i] != pskyoff[i-1]) if (pskyoff[i] != pskyoff[i-1])
{ skyclamphack = 1; break; } { skyclamphack = 0; break; }
} }
#endif #endif
if (bpp == 8 || !usehightile || !hicfindsubst(globalpicnum,globalpal,1)) if (bpp == 8 || !usehightile || !hicfindsubst(globalpicnum,globalpal,1))
@ -3410,7 +3410,7 @@ static void polymost_drawalls(int bunch)
//Use clamping for tiled sky textures //Use clamping for tiled sky textures
for (i=(1<<pskybits)-1;i>0;i--) for (i=(1<<pskybits)-1;i>0;i--)
if (pskyoff[i] != pskyoff[i-1]) if (pskyoff[i] != pskyoff[i-1])
{ skyclamphack = 1; break; } { skyclamphack = 0; break; }
} }
#endif #endif
//Parallaxing sky... //Parallaxing sky...