diff options
Diffstat (limited to 'ue2/imgsynth2/cbitmap.cpp')
| -rw-r--r-- | ue2/imgsynth2/cbitmap.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ue2/imgsynth2/cbitmap.cpp b/ue2/imgsynth2/cbitmap.cpp index c2cd99a..2e135db 100644 --- a/ue2/imgsynth2/cbitmap.cpp +++ b/ue2/imgsynth2/cbitmap.cpp | |||
| @@ -105,6 +105,7 @@ void CBitmap::fillrect(std::list<std::string> params) | |||
| 105 | pixel.blue = pparams[6]; | 105 | pixel.blue = pparams[6]; |
| 106 | 106 | ||
| 107 | /* call setPixel for every pixel in the rectangel */ | 107 | /* call setPixel for every pixel in the rectangel */ |
| 108 | /* NOTE: maybe use fill() here? */ | ||
| 108 | for(uint32_t i = pparams[0]; i < pparams[2] + pparams[0]; i++) | 109 | for(uint32_t i = pparams[0]; i < pparams[2] + pparams[0]; i++) |
| 109 | { | 110 | { |
| 110 | for(uint32_t j = pparams[1]; j < pparams[3] + pparams[1]; j++) | 111 | for(uint32_t j = pparams[1]; j < pparams[3] + pparams[1]; j++) |
