Skip to content

Commit c0b37c7

Browse files
committed
zz
1 parent 92fb47e commit c0b37c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/smalltalk/st0046.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ global smiley = [8]byte{...}
4949
5050
#wa:export update
5151
func Update {
52-
wasm4.SetDrawColors(2)
52+
wasm4.SetDrawColors(2, 0, 0, 0)
5353
wasm4.Text("Hello from Wa-lang!", 10, 10)
5454
5555
gamepad := wasm4.GetGamePad1()
5656
if gamepad&wasm4.BUTTON_1 != 0 {
57-
wasm4.SetDrawColors(4)
57+
wasm4.SetDrawColors(4, 0, 0, 0)
5858
}
5959
6060
wasm4.Blit(smiley[:], 76, 76, 8, 8, wasm4.BLIT_1BPP)

0 commit comments

Comments
 (0)