From a5cb69ea1f365bf474464c92b45051b44c97aa39 Mon Sep 17 00:00:00 2001 From: Alexander Eckart Date: Wed, 1 May 2013 09:29:55 +0200 Subject: [PATCH] fixed program closing --- Vocaluxe/Lib/Draw/CDirect3D.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vocaluxe/Lib/Draw/CDirect3D.cs b/Vocaluxe/Lib/Draw/CDirect3D.cs index 53cca0ac..fd37e355 100644 --- a/Vocaluxe/Lib/Draw/CDirect3D.cs +++ b/Vocaluxe/Lib/Draw/CDirect3D.cs @@ -521,7 +521,7 @@ namespace Vocaluxe.Lib.Draw //We finished drawing the frame if (_Device.EndScene().IsFailure) CLog.LogError("Failed to end scene"); - _Run = CGraphics.UpdateGameLogic(_Keys, _Mouse); + _Run = _Run && CGraphics.UpdateGameLogic(_Keys, _Mouse); try { //Now push the frame to the Viewport