Fixed weird screen library bug & updated traceback analysis method

This commit is contained in:
IgorTimofeev
2023-05-04 18:13:05 +03:00
parent 46dce46012
commit 18ebe258b9
24 changed files with 30 additions and 75 deletions

View File

@@ -101,20 +101,15 @@ local function flush(width, height)
resetDrawLimit()
local index
for i = 1, bufferWidth * bufferHeight do
index = i
currentFrameBackgrounds[index] = 0x010101
newFrameBackgrounds[index] = 0x010101
currentFrameBackgrounds[i] = 0x010101
newFrameBackgrounds[i] = 0x010101
index = index + 1
currentFrameForegrounds[index] = 0xFEFEFE
newFrameForegrounds[index] = 0xFEFEFE
currentFrameForegrounds[i] = 0xFEFEFE
newFrameForegrounds[i] = 0xFEFEFE
index = index + 1
currentFrameSymbols[index] = " "
newFrameSymbols[index] = " "
currentFrameSymbols[i] = " "
newFrameSymbols[i] = " "
end
end