Quoting Hallvar Helleseth ([EMAIL PROTECTED]): > Aah, I found a bug! > > The rectangle gets blended into the surface when I'm not using hardware > acceleration. otherwise that part of the surface gets 100% transparent. > > I'm using Matrox G550 > and this is my code: > > surface->Blit(surface, surface2, NULL, &rect); > surface->SetDrawingFlags(surface, DSDRAW_BLEND); > surface->SetColor(surface, 100, 100, 100, 100); > surface->FillRectangle(surface, rect.x, rect.y, rect.w, rect.h);
I did the last three lines on an ARGB surface of a window and it was ok. Is the blitted image visible if you don't do the last three lines afterwards? -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
