Original Post
I guess my problem is very stupid, but anyway I can't figure it out.
My program is using this code to sync my physics actor(PhysX) and my display list.
While I was using glslDevel, it detected that GL_STACK_OVERFLOW error appears.
I would be grateful for any help.
My program is using this code to sync my physics actor(PhysX) and my display list.
tmp=glGenLists(1); //tmp is temp display listglNewList(tmp,GL_COMPILE);glPushMatrix();glLoadIdentity();glTranslatef(m_actor->getGlobalPosition().x,m_actor->getGlobalPosition().y,m_actor->getGlobalPosition().z); glRotated(m_actor->getGlobalOrientationQuat().getAngle(),m_actor->getGlobalOrientationQuat().x,m_actor->getGlobalOrientationQuat().y,m_actor->getGlobalOrientationQuat().z);glCallList(list);glPopMatrix();glEndList();list=tmp;While I was using glslDevel, it detected that GL_STACK_OVERFLOW error appears.
I would be grateful for any help.