Remove some var refinement lower bounds

This commit is contained in:
Nigel Tao committed 2018-12-26 18:19:19 +11:00
1 parent 7405307173
commit 87b8b44778
2 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -720,7 +720,7 @@ pri func decoder.copy_to_image_buffer!?(pb ptr base.pixel_buffer, src slice base
// TODO: a Wuffs (not just C) name for the WUFFS_BASE__PIXEL_FORMAT__ETC
// magic pixfmt constants. Also, support more formats.
var bytes_per_pixel base.u32[1..64] = 1
var bytes_per_pixel base.u32[..64] = 1
var pixfmt base.u32 = args.pb.pixel_format()
if (pixfmt == 0x45008888) or (pixfmt == 0x55008888) or
(pixfmt == 0x46008888) or (pixfmt == 0x56008888) or