title: NameError when running pyOpenGL
body: <p>I am interested in setting up an environment to code a particle simulator with pyOpenGL. I have installed pyOpenGL. 
  This is the test code just to make sure that opengl works all right.</p>
  
  <pre><code>from OpenGL import *
  from OpenGL.GLUT import *
  from OpenGL.GLU import *
  
  
  window = 0 
  width, height = 500,400
  
  def draw():
      glClear(GL_COLOR_BUFFER_BIT |GL_DEPTH_BUFFER_BIT)           
      glLoadIdentity()
  
  glutDwapBuffers()                                           
  
  
  
  
  #initialization
  glutInit()
  glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_ALPHA | GLUT_DEPTH)
  glutInitWindowSize(width,height)
  glutInitWindowPosition(0,0)
  window = glutCreateWindow(b"noobtute")
  glutDisplayFunc(draw)                                                                       
  glutIdleFunc(draw)  
  glutMainLoop()              
  </code></pre>
  
  <p>However, when I run the script from command I get the following error:</p>
  
  <pre><code>NameError: name 'glClear' is not defined
  GLUT Display callback &lt;function draw at 0x0000000002F8CB70&gt; with (),{} failed: 
  returning None name 'glClear' is not defined
  </code></pre>
  
  <p>I have tried reinstalling pyOpengl but have had no success.</p>
  
  <p>I am running Python 3.4 on Windows 8.1</p>
  
  <p>If you think more information would be helpful just ask.
  Thanks</p>