From 6767d1c5be4243bf288da6f6914d286a28ae430e Mon Sep 17 00:00:00 2001 From: LeHaine Date: Tue, 16 Jul 2024 11:06:09 -0400 Subject: [PATCH] fix syntax error --- game/src/commonMain/kotlin/com/game/template/Game.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/game/src/commonMain/kotlin/com/game/template/Game.kt b/game/src/commonMain/kotlin/com/game/template/Game.kt index 65ffd2f..fd12796 100644 --- a/game/src/commonMain/kotlin/com/game/template/Game.kt +++ b/game/src/commonMain/kotlin/com/game/template/Game.kt @@ -12,7 +12,6 @@ import com.littlekt.math.geom.degrees import com.littlekt.math.geom.radians import com.littlekt.resources.Fonts import com.littlekt.util.viewport.ExtendViewport -import com.littlekt.util.viewport.setViewport import kotlin.time.Duration.Companion.milliseconds class Game(context: Context) : ContextListener(context) { @@ -86,7 +85,6 @@ class Game(context: Context) : ContextListener(context) { ) ) ) - renderPassEncoder.setViewport(viewport) camera.update() batch.use(renderPassEncoder, camera.viewProjection) {