mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 16:47:28 +01:00
Remove std/nie decoder.swizzle derived var hack
This commit is contained in:
1 parent
f6d11c78da
commit
332fb46b5c
4 files changed
+30
-10
No files matched your search
@@ -206,11 +206,6 @@ pri func decoder.swizzle!(dst: ptr base.pixel_buffer, src: base.io_reader) base.
|
||||
dst_bytes_per_row = (this.width as base.u64) * dst_bytes_per_pixel
|
||||
tab = args.dst.plane(p: 0)
|
||||
|
||||
// TODO: this hack (to generate derived variables for args.src) shouldn't
|
||||
// be necessary.
|
||||
if args.src.length() <= 0 {
|
||||
}
|
||||
|
||||
while true {
|
||||
if this.dst_x == this.width {
|
||||
this.dst_x = 0
|
||||
|
||||
Reference in new issue
Block a user