Just a litte hint to save you time...
I spend hours before I found this anoying bug:
All things worked well until i tryed to add a skybox. But when I did draw the box, openGL has gone mad (didn''t cleared the z-buffer, could not determine the oGL Version and the Extensions...).
But finaly this line caused all the trouble:
But i didn''t wrote the program in pascal (C/C++)!
Who knows whats wrong?
Lol yeah, the smallest bugs are the most annoying ones, u just cant find them. I also forgot to use glEnd(); last time... and euhm my textures went all wrong.. till i noticed i did a test a while ago what caused the problem hehe.