Call this function when you want to begin with OpenGL commands
Call this function when you are finished with OpenGL commands