Fix readme code
This commit is contained in:
parent
36e14acc08
commit
de1268d035
|
@ -15,7 +15,7 @@ pub fn main() {
|
||||||
<<0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0x00, 0xFF>>,
|
<<0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0x00, 0xFF>>,
|
||||||
<<0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0x80, 0x80, 0x80>>,
|
<<0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0x80, 0x80, 0x80>>,
|
||||||
]
|
]
|
||||||
|> gleam_png.from_packed(
|
|> pngleam.from_packed(
|
||||||
width: 3,
|
width: 3,
|
||||||
height: 3,
|
height: 3,
|
||||||
color_info: pngleam.rgb_8bit,
|
color_info: pngleam.rgb_8bit,
|
||||||
|
|
Loading…
Reference in New Issue