aboutsummaryrefslogtreecommitdiffstats
path: root/src/hap.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/hap.zig')
-rw-r--r--src/hap.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hap.zig b/src/hap.zig
index 696b905..c2db8bb 100644
--- a/src/hap.zig
+++ b/src/hap.zig
@@ -110,7 +110,7 @@ pub const HAPDecoder = struct {
buffer[0..length],
);
- if (tex.type == .TEXTURE_2D) return false;
+ if (tex.type == .TEXTURE_2D) return true;
} else {
try check(c.HapGetFrameTextureFormat(packet.data, @intCast(packet.size), 0, &format));
if (self.format) |fmt| {