Separate OpenGL code from Linux or Mac.
Merge pull request #930 from BeamNG/separate_opengl_from_os

Separate OpenGL code from Linux or Mac.