Le Lundi 14 Février 2005 06:23, elekis a écrit : > > > unsigned rmask = 0x000000ff; > unsigned gmask = 0x0000ff00; > unsigned bmask = 0x00ff0000; > unsigned amask = 0xff000000; > remove them and you will have your white rect :) I've made the same mistake in my prog, the SDL componant for gambas http://gambas.sourceforge.net. Regards, -- Laurent Carlier