title: Setting the size of a window in OpenGL
body: <p>Fixed: I am trying to create a basic game in <a href="http://en.wikipedia.org/wiki/C++" rel="nofollow">C++</a> using <a href="http://en.wikipedia.org/wiki/OpenGL" rel="nofollow">OpenGL</a>. I can make a window with a square in it, and make the square move around. However, I am having trouble getting the window to be the correct size.</p>
  
  <p>If I try and make the window to be 800 by 600 then the window and borders will be this size, not just the bit inside the border. Is there a way I can make it so that the bit inside the border is the size I define?</p>
  
  <p>I pasted the code in <a href="http://pastebin.com/jxd5YhHa" rel="nofollow">http://pastebin.com/jxd5YhHa</a>.</p>