diff options
Diffstat (limited to 'include/mbgl/platform/default/headless_display.hpp')
-rw-r--r-- | include/mbgl/platform/default/headless_display.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/platform/default/headless_display.hpp b/include/mbgl/platform/default/headless_display.hpp index 4b160ddc68..80a0c31af3 100644 --- a/include/mbgl/platform/default/headless_display.hpp +++ b/include/mbgl/platform/default/headless_display.hpp @@ -11,7 +11,7 @@ public: ~HeadlessDisplay(); #if MBGL_USE_CGL - CGLPixelFormatObj pixelFormat; + CGLPixelFormatObj pixelFormat = nullptr; #endif #if MBGL_USE_GLX |