Skip to content

Commit 46bc2d9

Browse files
committed
don't force texture consistency in gif
1 parent a2c6993 commit 46bc2d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/kotlin/com/lambda/graphics/texture/AnimatedTexture.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import org.lwjgl.stb.STBImage
2727
import java.nio.ByteBuffer
2828

2929

30-
class AnimatedTexture(path: LambdaResource) : Texture(null) {
30+
class AnimatedTexture(path: LambdaResource) : Texture(image = null, forceConsistency = false) {
3131
private val pbo: PixelBuffer
3232
private val gif: ByteBuffer // Do NOT free this pointer
3333
private val frameDurations: IntArray

0 commit comments

Comments
 (0)