Example/FirstScene: Fix event handling

Former-commit-id: 3df87a66a47ed6c920ada5e82382c08fc43f74ac [formerly ac9e4cec56ddf7d6ab52683b8bb46bf93693ebd2] [formerly 9929ba33dde25afe7d6610bf7194c6e4fcf65b08 [formerly 50ebcce013b250739688ead06e428e56a59d2fbd]]
Former-commit-id: b30b4d96c2d4203705224511e99536cabd21bbb9 [formerly 48a867c50010f962f8a7609fab094290d274414c]
Former-commit-id: aea00b4a975d02a16fe3c10e2a67a0bf8bbf2ac4
This commit is contained in:
Lynix 2016-08-28 01:22:47 +02:00
parent 52afd9fb3f
commit 6c031d7bed
1 changed files with 2 additions and 0 deletions

View File

@ -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())
{