Added support for OpenGL 3.3 and OpenGL 4.0.
Authored by: spasi 2010-03-11
Parent: [r3278]
Child: [r3280]