Examples: SDL2+SDLRenderer: fixed return value. (#7876)

This commit is contained in:
lunarlattice 2024-08-09 03:27:38 -07:00 committed by GitHub
parent 3232070d3a
commit 45e7f7827a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ int main(int, char**)
if (renderer == nullptr)
{
SDL_Log("Error creating SDL_Renderer!");
return 0;
return -1;
}
//SDL_RendererInfo info;
//SDL_GetRendererInfo(renderer, &info);