From: Stephane C. <Ste...@em...> - 2001-07-12 08:28:13
|
Hello. I tried to use glCopyPixels with some scale and bias, and I get one-pixel width "stripes" instead of plain rectangles, as if line adressing in a pixmap was broken. I changed in swrast/s_copypix.c:198 GLfloat (*rgba)[4] = (GLfloat (*)[4]) tmpImage + row * width * 4; for: GLfloat (*rgba)[4] = tmpImage + row * width * 4; and the bug is fixed. There is a similar statement at line 230, I suspect it's buggy as well since convImage is in the same format than tmpImage. About bug policy: each time I get a bug, I try to find at least a workaround (at least to be sure it's a bug), if not a fix. Do I have to submit an entry in the bug database in this case ? Regards, -- Stephane Conversy Ecole des Mines de Nantes |