summaryrefslogtreecommitdiff
path: root/src/scene.mm
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-01-19 23:40:45 +0100
committerHannes Schulze <haschu0103@outlook.de>2025-01-19 23:40:45 +0100
commitbaa585fd21f631708de215929241d40f66b58498 (patch)
treec50643222b86829915a597c851b828faf07c4c24 /src/scene.mm
parent502dc171f45e5acf00c34521328b414d5285f598 (diff)
some ppu fixes
Diffstat (limited to 'src/scene.mm')
-rw-r--r--src/scene.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scene.mm b/src/scene.mm
index e4cb6b6..f858185 100644
--- a/src/scene.mm
+++ b/src/scene.mm
@@ -35,7 +35,7 @@ namespace
auto actually_switch_buffers() -> void
{
- auto texture = [SKTexture textureWithData:buffer_front_ size:CGSizeMake(width, height)];
+ auto texture = [SKTexture textureWithData:buffer_front_ size:CGSizeMake(width, height) flipped:YES];
[texture setFilteringMode:SKTextureFilteringNearest];
[node_ setTexture:texture];
}