Skip to content

Commit

Permalink
xrEngine/Device_Initialize.cpp: removed SDL_WINDOW_ALWAYS_ON_TOP flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Jul 27, 2018
1 parent fb14703 commit a862762
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/xrEngine/Device_Initialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ void CRenderDevice::Initialize()
if (!m_sdlWnd)
{
const Uint32 flags = SDL_WINDOW_BORDERLESS | SDL_WINDOW_HIDDEN |
SDL_WINDOW_RESIZABLE
#if SDL_VERSION_ATLEAST(2,0,5)
| SDL_WINDOW_ALWAYS_ON_TOP
#endif
| SDL_WINDOW_OPENGL;
SDL_WINDOW_RESIZABLE | SDL_WINDOW_OPENGL;

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

Expand Down

0 comments on commit a862762

Please sign in to comment.