mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-03 13:11:33 +00:00
spritebatch viewport changes
This commit is contained in:
@ -439,7 +439,7 @@ public class Renderer {
|
||||
}
|
||||
|
||||
func createSpriteBatch() -> SpriteBatch {
|
||||
return SpriteBatch(self)
|
||||
return SpriteBatch(self, Rect(origin: .zero, size: Size<Float>(self.backBufferSize)))
|
||||
}
|
||||
|
||||
internal func setupBatch(environment: Environment, camera: Camera) {
|
||||
|
Reference in New Issue
Block a user