tutorial: remove an unnecessary detail
This commit is contained in:
parent
a79de8773d
commit
b43e72b704
|
@ -587,7 +587,6 @@ fn main screen: (addr screen) {
|
||||||
compare x, 0x400/screen-width=1024
|
compare x, 0x400/screen-width=1024
|
||||||
break-if->=
|
break-if->=
|
||||||
var color/ecx: int <- copy x
|
var color/ecx: int <- copy x
|
||||||
color <- and 0xff
|
|
||||||
pixel screen x, y, color
|
pixel screen x, y, color
|
||||||
x <- increment
|
x <- increment
|
||||||
loop
|
loop
|
||||||
|
|
|
@ -8,7 +8,6 @@ fn main screen: (addr screen) {
|
||||||
compare x, 0x400/screen-width=1024
|
compare x, 0x400/screen-width=1024
|
||||||
break-if->=
|
break-if->=
|
||||||
var color/ecx: int <- copy x
|
var color/ecx: int <- copy x
|
||||||
color <- and 0xff
|
|
||||||
pixel screen x, y, color
|
pixel screen x, y, color
|
||||||
x <- increment
|
x <- increment
|
||||||
loop
|
loop
|
||||||
|
|
Loading…
Reference in New Issue