Separate OpenGL code from Linux or Mac.