From e7bfcebfbebd0d5d6b83027285e80674c51e243f Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Mon, 6 Nov 2017 12:41:23 +0300 Subject: [PATCH] no message --- src/studio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/studio.c b/src/studio.c index a9df867..6007f9e 100644 --- a/src/studio.c +++ b/src/studio.c @@ -1793,6 +1793,7 @@ static void blitSound() { s32 samples = studio.audioSpec.freq / TIC_FRAMERATE; + // TODO: use SDL_ConvertAudio to covert format if(studio.audioSpec.format == AUDIO_F32) { if(!studio.floatSamples) @@ -2395,7 +2396,6 @@ s32 main(s32 argc, char **argv) createFileSystem(onFSInitialized); - if(studio.softwareRenderer) { u64 nextTick = SDL_GetPerformanceCounter(); const u64 Delta = SDL_GetPerformanceFrequency() / TIC_FRAMERATE; @@ -2412,8 +2412,6 @@ s32 main(s32 argc, char **argv) else nextTick -= delay; } } - // TODO: check if window minimised - else while(!studio.quitFlag) tick(); #endif