Skip to content

Commit a862762

Browse files
committed
xrEngine/Device_Initialize.cpp: removed SDL_WINDOW_ALWAYS_ON_TOP flag
1 parent fb14703 commit a862762

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/xrEngine/Device_Initialize.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,7 @@ void CRenderDevice::Initialize()
4747
if (!m_sdlWnd)
4848
{
4949
const Uint32 flags = SDL_WINDOW_BORDERLESS | SDL_WINDOW_HIDDEN |
50-
SDL_WINDOW_RESIZABLE
51-
#if SDL_VERSION_ATLEAST(2,0,5)
52-
| SDL_WINDOW_ALWAYS_ON_TOP
53-
#endif
54-
| SDL_WINDOW_OPENGL;
50+
SDL_WINDOW_RESIZABLE | SDL_WINDOW_OPENGL;
5551

5652
m_sdlWnd = SDL_CreateWindow("S.T.A.L.K.E.R.: Call of Pripyat", 0, 0, 640, 480, flags);
5753

0 commit comments

Comments
 (0)