mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-23 23:31:08 +01:00
Examples: SDL2+SDLRenderer: fixed return value. (#7876)
This commit is contained in:
parent
3232070d3a
commit
45e7f7827a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user