♻️ Remove unused deserialization code

This commit is contained in:
Belén Albeza 2025-05-06 12:49:49 +02:00
parent ec73bd640c
commit 8609db2182
5 changed files with 15 additions and 145 deletions

View file

@ -17,11 +17,6 @@
;; FIXME: get it from the wasm module
(def FILL-BYTE-SIZE (+ 4 (max GRADIENT-BYTE-SIZE IMAGE-BYTE-SIZE SOLID-BYTE-SIZE)))
;; (defn write-fill! [offset heap-u32 fill]
;; (let [dview (js/DataView. (.-buffer heap-u32))]
;; offset))
(defn write-solid-fill!
[offset heap-u32 argb]
(let [dview (js/DataView. (.-buffer heap-u32))]