diff options
Diffstat (limited to 'platform/default/src/mbgl/gfx/headless_frontend.cpp')
-rw-r--r-- | platform/default/src/mbgl/gfx/headless_frontend.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/default/src/mbgl/gfx/headless_frontend.cpp b/platform/default/src/mbgl/gfx/headless_frontend.cpp index 025abdd87a..0e97c40e49 100644 --- a/platform/default/src/mbgl/gfx/headless_frontend.cpp +++ b/platform/default/src/mbgl/gfx/headless_frontend.cpp @@ -23,9 +23,9 @@ HeadlessFrontend::HeadlessFrontend(Size size_, const gfx::ContextMode contextMode, const optional<std::string> localFontFamily) : size(size_), - pixelRatio(pixelRatio_), - backend(gfx::HeadlessBackend::make( { static_cast<uint32_t>(size.width * pixelRatio), - static_cast<uint32_t>(size.height * pixelRatio) }, contextMode)), + pixelRatio(pixelRatio_), + backend(gfx::HeadlessBackend::Create({ static_cast<uint32_t>(size.width * pixelRatio), + static_cast<uint32_t>(size.height * pixelRatio) }, contextMode)), asyncInvalidate([this] { if (renderer && updateParameters) { gfx::BackendScope guard { *getBackend() }; |