fix syntax error

This commit is contained in:
LeHaine 2024-07-16 11:06:09 -04:00
parent fc0503d099
commit 6767d1c5be
No known key found for this signature in database
GPG key ID: 8AEC4F9B9F33E9AC

View file

@ -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) {