GLUT runtime error: Redisplay needed...but no display callback.

GLUT: Fatal Error in C:\Windows\Desktop\Debug\bedroom.exe: redisplay needed for
window 1, but no display callback.

Can anyone explain this error or tell me what I’m doing wrong?

Thanks in advance

Sounds like you haven’t registered a display callback.

The solution is to register a display callback.