View Full Version : Redisplay

05-07-2003, 07:46 PM

I'm emulating a graphics library using Opengl.In that for primiitve i draw on window an id will be returned and all the information about primitive is maintatined in a structure.Problem is whenever i click on the window or call glutPostRedisplay() everytime primiitve will be displayed and new id will be returned.How can I stop this fron happening.