I am using openGL in my application for displaying only.
I have two C files in my project. I wnated to initialize window and creating window in main C file and i wnated to update the window from another C file. Is it possible?
I used in the following way then window is creating but window is not updating with new data. just itis stationary.
glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB);
getwin = glutCreateWindow(argv);
In another C file
Is there any other ways to do for this.
Please suggest me.
Thanks & Regards,