LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Jehan on January 10, 2021, 19:54:38

Title: isCloseRequested
Post by: Jehan on January 10, 2021, 19:54:38
hi everyone I have a simple question.

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

Code: [Select]
while (!Display.isCloseRequested())
{
Display.update();
nbFrame++;
}
Display.destroy();

thankyou !!