9 lines
230 B
C++
9 lines
230 B
C++
#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);
|
|
}
|
|
}
|
|
} |