mirror of https://github.com/ocornut/imgui
Examples: SDL3: amend for removal of SDL_RENDERER_ACCELERATED.
This commit is contained in:
parent
3caa79c8a5
commit
dad1689bf7
|
@ -42,7 +42,7 @@ int main(int, char**)
|
|||
printf("Error: SDL_CreateWindow(): %s\n", SDL_GetError());
|
||||
return -1;
|
||||
}
|
||||
SDL_Renderer* renderer = SDL_CreateRenderer(window, nullptr, SDL_RENDERER_PRESENTVSYNC | SDL_RENDERER_ACCELERATED);
|
||||
SDL_Renderer* renderer = SDL_CreateRenderer(window, nullptr, SDL_RENDERER_PRESENTVSYNC);
|
||||
if (renderer == nullptr)
|
||||
{
|
||||
SDL_Log("Error: SDL_CreateRenderer(): %s\n", SDL_GetError());
|
||||
|
|
Loading…
Reference in New Issue