fixed program closing

This commit is contained in:
Alexander Eckart committed 2013-05-01 09:29:55 +02:00
1 parent 5e9eabbc9c
commit a5cb69ea1f
1 file changed
+1 -1
+1 -1
View File
@@ -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