before I ran my OpenGL program on LINUX. Then I copied it into MS Visual studio .NET 2005 VC++ and here I met the problem: the display list, which is created like glNewList(displist,GL_COMPILE_AND_EXECUTE) is not executed really. To display it I am forced to call my display function immediately. On LINUX(g++) I have no such problem - like display list is executed at once without my display function calling.
What is the possible reason of such bad behaviour of MS VC++?
How to solve this problem without additional call of display function?
Thank you in advance