Alejandro Vázquez
2015-05-24 00:08:28 UTC
Hi!
I want to draw a pair of surface but can not get me the paint well.
First I create 2 surface.
Surface 1: Draw a Rectangle color red.
Surface 2: Draw a Rectangle color blue.
Now i draw the surface 1 wait 5 second draw surface 2 and wait 5 second and
draw surface 1 again.
the first time paint the red rectangle but de second time paint both
rectangle and the last time don't draw nothing.
Am I doing it correctly?
I add the code and the makefile.
Thanks!
Regards.
I want to draw a pair of surface but can not get me the paint well.
First I create 2 surface.
Surface 1: Draw a Rectangle color red.
Surface 2: Draw a Rectangle color blue.
Now i draw the surface 1 wait 5 second draw surface 2 and wait 5 second and
draw surface 1 again.
the first time paint the red rectangle but de second time paint both
rectangle and the last time don't draw nothing.
Am I doing it correctly?
I add the code and the makefile.
Thanks!
Regards.