ok, so here is my problem:
I'm using doublebuffering as explained in synkro's tutorial no. 3
but for some reason it doesn't work and I just don't know why.
in the program below I was trying to draw a circle on framebuffer[0], display it and the start drwaing the same circle on framebuffer[1]...