> I have the book 'Tricks of the Mac Game Programming Gurus' > and at page 138, there is a line in C (or Pascal ?): No, Sylvain, it's in Greek ;-) > ---From the book--- > > //Copy the screen's color table seed into the source pixmap. > //This will minimize Copybits() setup time. > > (*( ( *gOffscreenPixels) -> pmTable)) -> ctSeed = ( *( ( *( ( *( > GetGDevice( ) ) ) > -> gdPMap ) ) ->pmTable ) ) -> ctSeed; > > ---End > > (This is all on the same line.) > This line is just before COPYBITS. > > Does anyone know how to use this in FB ? I remember posting this subject yonks ago (when I got the book in fact) and the consensus was that if the screen used the system palette and the gworld too, then this serves no purpose, only if you use different palettes does this speed things. (and of course, if you're not working in 256 colors, you have no palettes..) jonathan