From d8e4853971efe67d16ee1ce50f5770e5d1be6a7c Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Sun, 29 Sep 2019 11:36:17 +0100 Subject: [PATCH] Reorder the vertical blank raster lines a little to make it easier to use... Signed-off-by: Adrian Conlon --- Gaming/src/Game.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Gaming/src/Game.cpp b/Gaming/src/Game.cpp index 3429ca8..2c3588f 100644 --- a/Gaming/src/Game.cpp +++ b/Gaming/src/Game.cpp @@ -103,6 +103,7 @@ void Game::runLoop() { } } + runVerticalBlank(); runRasterLines(); updateTexture(); @@ -119,8 +120,6 @@ void Game::runLoop() { ::SDL_Delay(sleepNeeded); } } - - runVerticalBlank(); } }