Skip to content

Commit

Permalink
Call glFinish on render breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
maurhofer-ubique authored and maerki committed Jan 24, 2024
1 parent c65df0f commit 2074653
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ class GLThread constructor(
hasFinishedSinceDirty = true
finishDuration = System.currentTimeMillis() - finishDuration
}
val finishDuration = System.currentTimeMillis() - preFinish

try {
if (finishDuration < BREAK_RENDER_INTERVAL) {
Expand Down

0 comments on commit 2074653

Please sign in to comment.