Example/FirstScene: Fix event handling
Former-commit-id: a3d33e15303aee7de339f1bc6ba84866fcaea524 [formerly 391d9095d6b64cf1409f12ab62f1b95a721e8489] [formerly a609374620028cae9cc3f3ba66efda909bb33479 [formerly 2f3dbf79330334123da1e6ff0edd74ec9c8f53b4]] Former-commit-id: 69d9719acc6ba619e60b8580f4ba49bb543cbe9f [formerly bb65e744b18ef7e185c2960c5f07223a057a5496] Former-commit-id: 08a99a0241402466ac4463807b1127060095f827
This commit is contained in:
parent
cda509da6f
commit
1a7ac46893
|
|
@ -329,6 +329,8 @@ int main()
|
|||
lua.PushGlobal("Spaceship", spaceship->CreateHandle());
|
||||
lua.PushGlobal("World", world->CreateHandle());
|
||||
|
||||
window.EnableEventPolling(true); // Déprécié
|
||||
|
||||
// Début de la boucle de rendu du programme (s'occupant par exemple de mettre à jour le monde)
|
||||
while (application.Run())
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue