Examples: SDL3: amend for removal of SDL_RENDERER_ACCELERATED.

This commit is contained in:
ocornut 2024-04-15 12:08:07 +02:00
parent 3caa79c8a5
commit dad1689bf7
1 changed files with 1 additions and 1 deletions

View File

@ -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());