if/endif OPENGL code cleanup.