summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee/render/texture.scm3
1 files changed, 0 insertions, 3 deletions
diff --git a/chickadee/render/texture.scm b/chickadee/render/texture.scm
index 051ec4f..b215722 100644
--- a/chickadee/render/texture.scm
+++ b/chickadee/render/texture.scm
@@ -234,9 +234,6 @@ the given MIN-FILTER and MAG-FILTER."
(when (and (= r (bytevector-u8-ref pixels i))
(= g (bytevector-u8-ref pixels (+ i 1)))
(= b (bytevector-u8-ref pixels (+ i 2))))
- (bytevector-u8-set! pixels i 255)
- (bytevector-u8-set! pixels (+ i 1) 255)
- (bytevector-u8-set! pixels (+ i 2) 255)
(bytevector-u8-set! pixels (+ i 3) 0))
(loop (+ i 4))))))
(make-texture pixels width height