So I'm trying to remake the game break out and I already have my first problem. I have it so that the platform in which the ball bounces off of moves (horizontally) based on wherever the mouse is. But whenever I move the mouse, the platform from the previous position stays in its place as shown here:
(http://puu.sh/hRjRV/d540ff318d.png)
Thank you! :-*
May it be that you are not clearing the color buffer bit?
I don't think it's that.
I tried calling glClear(GL_COLOR_BUFFER_BIT); after I drew my platform and it just makes the platform disappear completely.
EDIT: I called the clear at the beginning of the draw method and it worked. Thanks! 8)