- added Firebrand's patch to rename 'swap' due to naming conflicts in newer MSVC compilers.
SVN r2449 (trunk)
This commit is contained in:
parent
4ac64b6df7
commit
545a892faa
28 changed files with 50 additions and 50 deletions
|
|
@ -919,7 +919,7 @@ void DCanvas::DrawLine(int x0, int y0, int x1, int y1, int palColor, uint32 real
|
|||
{ // horizontal line
|
||||
if (x0 > x1)
|
||||
{
|
||||
swap (x0, x1);
|
||||
swapvalues (x0, x1);
|
||||
}
|
||||
memset (GetBuffer() + y0*GetPitch() + x0, palColor, deltaX+1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue