Added DetectRangeError function

This commit is contained in:
Magnus Norddahl 2016-10-17 12:36:01 +02:00
commit af937366d1
7 changed files with 40 additions and 0 deletions

View file

@ -823,6 +823,7 @@ void R_SetupBuffer ()
#endif
}
dc_destorg = lineptr;
dc_destheight = RenderTarget->GetHeight() - viewwindowy;
for (int i = 0; i < RenderTarget->GetHeight(); i++)
{
ylookup[i] = i * pitch;