mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-18 21:29:18 +02:00
Fix copy-and-paste error
This commit is contained in:
parent
32e31a0388
commit
74d3d3dc20
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ void bitmap_fill(RGBBitmap *img, int r, int g, int b)
|
|||
// TODO: could use pointers directly or even memcpy
|
||||
// to make this faster
|
||||
for (y = 0; y < img->height; y++) {
|
||||
for (x = 0; x < img->height; x++) {
|
||||
for (x = 0; x < img->width; x++) {
|
||||
bitmap_set(img, x, y, r, g, b);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue