mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Set SDL_GL_ACCELERATED_VISUAL to 1
git-svn-id: https://svn.eduke32.com/eduke32@4641 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
9a04065b5e
commit
81e9761e50
1 changed files with 1 additions and 0 deletions
|
@ -1534,6 +1534,7 @@ int32_t setvideomode(int32_t x, int32_t y, int32_t c, int32_t fs)
|
||||||
{ SDL_GL_MULTISAMPLEBUFFERS, glmultisample > 0 },
|
{ SDL_GL_MULTISAMPLEBUFFERS, glmultisample > 0 },
|
||||||
{ SDL_GL_MULTISAMPLESAMPLES, glmultisample },
|
{ SDL_GL_MULTISAMPLESAMPLES, glmultisample },
|
||||||
{ SDL_GL_STENCIL_SIZE, 1 },
|
{ SDL_GL_STENCIL_SIZE, 1 },
|
||||||
|
{ SDL_GL_ACCELERATED_VISUAL, 1 },
|
||||||
# if SDL_MAJOR_VERSION == 1
|
# if SDL_MAJOR_VERSION == 1
|
||||||
{ SDL_GL_SWAP_CONTROL, vsync_render },
|
{ SDL_GL_SWAP_CONTROL, vsync_render },
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Reference in a new issue