Readded deprecated OpenGL functions. Direct3D 9 will need a shader.