isCloseRequested

Started by Jehan, January 10, 2021, 19:54:38

Previous topic - Next topic

Jehan

hi everyone I have a simple question.

how to send a request to make Display.isCloseRequested() true ?

while (!Display.isCloseRequested())
{
	Display.update();
	nbFrame++;
}
Display.destroy();


thankyou !!