   problems using identity matrix
  Hello!I have only the following  in my main:glMatrixMode (GL_MODELVIEW);glLoadIdentity();int matrix[16];glGetIntegerv( GL_MODELVIEW_MATRIX, matrix);cout << "Matrix " << matrix[0] <<"/"<<matrix[1]<<"/"<<matrix[2]<<"/"<<matrix[3]< endl;I estimeted something like 1/0/0/0 but i got  8932 / 666 / -1073745864 / 134516137 !Does anybody know whats wrong?   
  You must have a valid OpenGL rendering context before you can make OpenGL calls.Enigma   ;  thank you for your reply!!! I added  glutInit(&argc, argv);  glutInitDisplayMode (GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH);but it doesnt change anything... What else do i need for having a valid OpenGL rendering context?   ;  I'm not sure using glut.  But I know if you are drawing vertices you have the context.  Can you draw any triangles.  If you can, then you have a rendering context.   ;  Thank you! It seems that I should be in the glutMainLoop befor using the GL_MODELVIEW_MATRIX...   