- added Firebrand's patch to rename 'swap' due to naming conflicts in newer MSVC compilers.

SVN r2449 (trunk)
This commit is contained in:
Christoph Oelckers 2010-07-23 21:19:59 +00:00
commit 545a892faa
28 changed files with 50 additions and 50 deletions

View file

@ -1131,7 +1131,7 @@ void R_DrawMaskedColumnHoriz (const BYTE *column, const FTexture::Span *span)
if (sprflipvert)
{
swap (dc_yl, dc_yh);
swapvalues (dc_yl, dc_yh);
}
if (dc_yh >= mfloorclip[dc_x])
@ -1205,8 +1205,8 @@ nextpost:
// instead of bottom-to-top.
while (front < back)
{
swap (front[0], back[0]);
swap (front[1], back[1]);
swapvalues (front[0], back[0]);
swapvalues (front[1], back[1]);
front += 2;
back -= 2;
}