From bca08c6de2b156cbec90944c809e5e7faecd231d Mon Sep 17 00:00:00 2001 From: manuel Date: Fri, 1 May 2009 20:33:33 +0200 Subject: cwindowsbitmap: seek to bitmap data cpixmap: use copy() instead of accessing array via indices --- ue2/imgsynth2/cbitmap.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'ue2/imgsynth2/cbitmap.cpp') 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 params) pixel.blue = pparams[6]; /* call setPixel for every pixel in the rectangel */ + /* NOTE: maybe use fill() here? */ for(uint32_t i = pparams[0]; i < pparams[2] + pparams[0]; i++) { for(uint32_t j = pparams[1]; j < pparams[3] + pparams[1]; j++) -- cgit v1.2.3