mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 06:20:48 +00:00
Merge remote-tracking branch 'yquake2/master'
This commit is contained in:
commit
fbc91514eb
1 changed files with 2 additions and 2 deletions
|
@ -1902,7 +1902,7 @@ RE_InitContext(void *win)
|
||||||
if (r_vsync->value)
|
if (r_vsync->value)
|
||||||
{
|
{
|
||||||
#ifdef USE_SDL3
|
#ifdef USE_SDL3
|
||||||
renderer = SDL_CreateRenderer(window, NULL, SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC);
|
renderer = SDL_CreateRenderer(window, NULL, SDL_RENDERER_PRESENTVSYNC);
|
||||||
#else
|
#else
|
||||||
renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC);
|
renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC);
|
||||||
#endif
|
#endif
|
||||||
|
@ -1910,7 +1910,7 @@ RE_InitContext(void *win)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
#ifdef USE_SDL3
|
#ifdef USE_SDL3
|
||||||
renderer = SDL_CreateRenderer(window, NULL, SDL_RENDERER_ACCELERATED);
|
renderer = SDL_CreateRenderer(window, NULL, 0);
|
||||||
#else
|
#else
|
||||||
renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED);
|
renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue