Progress on update and wait functions, Pong update

This commit is contained in:
2023-11-14 00:29:48 +01:00
parent 3917df3b67
commit 33ebd6ca69
9 changed files with 197 additions and 256 deletions

View File

@ -58,7 +58,7 @@ bool MainLoop( void *args )
return false;
}
if( !MultiSpacc_WaitUpdateDisplay( margs->window, &nextTick ) )
if( !MultiSpacc_UpdateDisplay( margs->window ) )
{
MultiSpacc_PrintDebug("[E] Error Updating Screen.\n");
return false;
@ -104,5 +104,5 @@ int main( int argc, char *argv[] )
MultiSpacc_PrintText( "Hello, World!", margs.background, &windowConfig, 2, 2, margs.tilesImg );
return MultiSpacc_SetMainLoop( MainLoop, &margs );
return MultiSpacc_SetMainLoop( MainLoop, NULL, &margs );
}