sdlayer.cpp: don't alter desktop composition using win_setvideomode() if we're creating an SDL window for rendering GL

git-svn-id: https://svn.eduke32.com/eduke32@6920 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
pogokeen 2018-06-13 19:15:19 +00:00
parent 9d243606d0
commit 7fd844a795

View file

@ -1605,9 +1605,6 @@ int32_t videoSetMode(int32_t x, int32_t y, int32_t c, int32_t fs)
if (nogl)
return -1;
#ifdef _WIN32
win_setvideomode(c);
#endif
struct glattribs
{
SDL_GLattr attr;