Fixed unnecessary triplicate calling of OpenGL callback function if registered.
Modified signature of OpenGL callback function so eye (e.g. 'l', 'c', 'r')
can be passed to callback function for its use in e.g. configuring shaders.