TRECISION: Get rid of llvideo
This commit is contained in:
parent
9c357d1031
commit
8bf2be7b35
6 changed files with 15 additions and 46 deletions
|
@ -295,6 +295,17 @@ Graphics::Surface *TrecisionEngine::convertScummVMThumbnail(Graphics::Surface *t
|
|||
return result;
|
||||
}
|
||||
|
||||
void TrecisionEngine::resetZBuffer(int x1, int y1, int x2, int y2) {
|
||||
if (x1 > x2 || y1 > y2)
|
||||
return;
|
||||
|
||||
int size = (x2 - x1) * (y2 - y1);
|
||||
if (size * 2 > ZBUFFERSIZE)
|
||||
warning("Warning: _zBuffer size %d!\n", size * 2);
|
||||
|
||||
int16 *d = _zBuffer;
|
||||
for (int i = 0; i < size; ++i)
|
||||
*d++ = 0x7FFF;
|
||||
}
|
||||
|
||||
} // End of namespace Trecision
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue