mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-27 17:10:57 +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)
|
if (renderer == nullptr)
|
||||||
{
|
{
|
||||||
SDL_Log("Error creating SDL_Renderer!");
|
SDL_Log("Error creating SDL_Renderer!");
|
||||||
return 0;
|
return -1;
|
||||||
}
|
}
|
||||||
//SDL_RendererInfo info;
|
//SDL_RendererInfo info;
|
||||||
//SDL_GetRendererInfo(renderer, &info);
|
//SDL_GetRendererInfo(renderer, &info);
|
||||||
|
Loading…
Reference in New Issue
Block a user