[feat] Desktop render color
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#include <graphics/draw.h>
|
||||
|
||||
void prepare(UINT32 width, UINT32 height, COLOR_RGB color) {
|
||||
for (UINT32 i = 0; i < height; i++) {
|
||||
for (UINT32 j = 0; j < width; j++) {
|
||||
draw_pixel(i, j, color);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user