colors, rotations, and more
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
swap_buffer :: (screen: *Screen) {
|
||||
assert(false, "No implemented");
|
||||
using screen;
|
||||
write_string(cast(string)buffer);
|
||||
}
|
||||
|
||||
clear_screen :: (screen: *Screen) {
|
||||
for 0..screen.height * screen.width {
|
||||
print_color(" ", color = .BLACK);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user