I don't know if I should resurrect such an old thread but my problem is really similar. I am trying to learn opengl and as such am trying to write a program that draws a square wherever the mouse is...