I ordered a copy of the OpenGL SuperBible (5th Edition) the other day, because I really can’t make the transition away from fixed-pipeline OpenGL without it, and I thought I’d take a quick look at the book review on slashdot – where I found this gem in the comments…
1:1 – In the beginning God created the heaven and the earth.
1:2 – And the earth was without form, and void; and darkness was upon the face of the deep. And the Spirit of God moved upon the face of the waters.
1:3 – And God typed,glEnable(GL_LIGHTING);
…but there was no light, for GL_LIGHTING is deprecated in OpenGL 3.0, and even in 2.0 there’s like five other settings that He would have had to enable to get anything to display.
1:4 – And God went back to the NeHe tutorial, and it was good, but somewhat out-of-date.