mirror of
https://gitlab.com/octospacc/MultiSpaccSDK
synced 2025-06-05 22:09:21 +02:00
Progress on update and wait functions, Pong update
This commit is contained in:
@ -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 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user