drawSurface, the command that writes TIFF pictures, uses GLUT; which is deprecated since OS X 10.9. The warnings are annoying, and are silenced using -Wno-deprecated in gcc during compilation. The best would be to replace GLUT (which is used for offscreen drawing) by drawing to a frame buffer, probably.
drawSurface, the command that writes TIFF pictures, uses GLUT; which is deprecated since OS X 10.9. The warnings are annoying, and are silenced using -Wno-deprecated in gcc during compilation. The best would be to replace GLUT (which is used for offscreen drawing) by drawing to a frame buffer, probably.
See:
https://developer.apple.com/library/mac/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_offscreen/opengl_offscreen.html
http://www.swiftless.com/tutorials/opengl/framebuffer.html