mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Reset to one core (#8579)
This commit is contained in:
@@ -428,6 +428,9 @@ function Document:renderPage(pageno, rect, zoom, rotation, gamma, render_mode, h
|
||||
if not rect then
|
||||
logger.warn("aborting, since we do not have a specification for that part")
|
||||
-- required part not given, so abort
|
||||
if hinting then
|
||||
Device:enableCPUCores(1)
|
||||
end
|
||||
return
|
||||
end
|
||||
-- only render required part
|
||||
|
||||
Reference in New Issue
Block a user