diff options
Diffstat (limited to 'include/mbgl')
-rw-r--r-- | include/mbgl/platform/default/glfw_view.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/mbgl/platform/default/glfw_view.hpp b/include/mbgl/platform/default/glfw_view.hpp index 74a545d31b..3b74618e3e 100644 --- a/include/mbgl/platform/default/glfw_view.hpp +++ b/include/mbgl/platform/default/glfw_view.hpp @@ -11,8 +11,6 @@ #define GL_GLEXT_PROTOTYPES #include <GLFW/glfw3.h> -#include <atomic> - class GLFWView : public mbgl::View { public: GLFWView(bool fullscreen = false, bool benchmark = false); @@ -95,7 +93,7 @@ private: mbgl::util::Timer frameTick; GLFWwindow *window = nullptr; - std::atomic_flag clean = ATOMIC_FLAG_INIT; + bool dirty = false; }; #endif |