diff options
Diffstat (limited to 'include/mbgl/platform/default/headless_view.hpp')
-rw-r--r-- | include/mbgl/platform/default/headless_view.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/platform/default/headless_view.hpp b/include/mbgl/platform/default/headless_view.hpp index 8f8d11b297..8347aa51fe 100644 --- a/include/mbgl/platform/default/headless_view.hpp +++ b/include/mbgl/platform/default/headless_view.hpp @@ -54,7 +54,7 @@ private: std::shared_ptr<HeadlessDisplay> display; const float pixelRatio; std::array<uint16_t, 2> dimensions; - bool needsResize; + bool needsResize = false; #if MBGL_USE_CGL CGLContextObj glContext = nullptr; |