Skip to content

Commit

Permalink
one log
Browse files Browse the repository at this point in the history
  • Loading branch information
qimiko committed Jan 23, 2025
1 parent bb6146b commit a9d40a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/org/cocos2dx/lib/Cocos2dxRenderer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ class Cocos2dxRenderer(private var handler: Cocos2dxGLSurfaceView) : GLSurfaceVi
if (chosenRefreshRate != null && Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
handler.updateRefreshRate(chosenRefreshRate)
}

println("renderer surfaceChanged: ${width}x${height}@${handler.display.refreshRate}fps")
}

override fun onDrawFrame(gl: GL10?) {
Expand Down

0 comments on commit a9d40a7

Please sign in to comment.