fixed a bug, that made compiling on gcc impossible

std::atomic<float> m_fGlobalTime = 0.0f; => std::atomic<float> m_fGlobalTime = {0.0f};
thx J. Random Programmer
master
gorbit99 6 years ago committed by GitHub
parent f0de5fa5f7
commit 4800e2fe4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      olcConsoleGameEngineSDL.h

@ -1498,7 +1498,8 @@ protected: // Audio Engine =====================================================
SDL_AudioDeviceID deviceID;
SDL_AudioSpec spec, sampleSpec;
std::atomic<float> m_fGlobalTime = 0.0f;
//thx J. Random Programmer
std::atomic<float> m_fGlobalTime = {0.0f};
};
std::atomic<bool> olcConsoleGameEngine::m_bAtomActive(false);

Loading…
Cancel
Save