wtf colordepth

This commit is contained in:
IgorTimofeev 2022-10-04 12:49:14 +03:00
parent 5f8d497ba0
commit 3e7c0be447

View File

@ -293,7 +293,7 @@ local function mainMenu(force)
if e1 == "touch" then
if e2 ~= mainScreenAddress then
GPUProxy.bind(e2, false)
GPUProxy.setColorDepth(8)
GPUProxy.setDepth(8)
GPUProxy.setResolution(baseResolutionWidth, baseResolutionHeight)
GPUProxy.setBackground(color.HSBToInteger(hue, 1, 1))
GPUProxy.setForeground(0x0)