winex11.drv: Remove an obsolete FIXME comment.
Francois Gouget
fgouget at free.fr
Thu Oct 11 11:32:55 CDT 2007
---
At least it looks obsolete to me since we start with x = left and only
increase x. However this comment has been there for a very long time and
the surrounding code does not seem to have changed much. So maybe I
missed something.
dlls/winex11.drv/dib.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/dib.c b/dlls/winex11.drv/dib.c
index 2e84052..da0edb9 100644
--- a/dlls/winex11.drv/dib.c
+++ b/dlls/winex11.drv/dib.c
@@ -510,7 +510,6 @@ static void X11DRV_DIB_SetImageBits_1( int lines, const BYTE *srcbits,
/* ==== pal 1 dib -> any bmp format ==== */
for (h = lines-1; h >=0; h--) {
srcbyte=srcbits;
- /* FIXME: should avoid putting x<left pixels (minor speed issue) */
for (i = width/8, x = left; i > 0; i--) {
srcval=*srcbyte++;
XPutPixel( bmpImage, x++, h, colors[ srcval >> 7] );
--
1.5.3.2
More information about the wine-patches
mailing list