Thanks for the example. You seem to be right, I get the same error even in SDL, so it's not a problem with FLTK.
After my experiments with SDL, I also realized that FLTK seems to quite a bit faster at what I was doing. That is, drawing things to an offscreen buffer that is slightly larger than the screen, and then blitting that offscreen buffer to the screen with an offset. However, once I start using alpha transparency in FLTK, the performance is lost. It's easy for me to test, since I use Fl_PNG_Image for drawing, so I just added transparency to that image. This callmap was the result: http://imageshack.us/f/545/screenshot2xt.png/ Without transparency, it looks like this: http://imageshack.us/f/228/screenshot3os.png/ Those function names make me guess that a lot of time is wasted converting the image. I also don't need full alpha transparency in a lot of cases, color-keyed transparency would do just fine. Would there be a way to speed up drawing through that? _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

