diff options
Diffstat (limited to 'platform/default')
-rw-r--r-- | platform/default/src/mbgl/gl/headless_backend.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/default/src/mbgl/gl/headless_backend.cpp b/platform/default/src/mbgl/gl/headless_backend.cpp index ba08aecab7..2073c90751 100644 --- a/platform/default/src/mbgl/gl/headless_backend.cpp +++ b/platform/default/src/mbgl/gl/headless_backend.cpp @@ -11,13 +11,13 @@ namespace mbgl { class HeadlessBackend::View { public: View(gl::Context& context, Size size_) - : color(context.createRenderbuffer<gl::RenderbufferType::RGBA>(size_)), - depthStencil(context.createRenderbuffer<gl::RenderbufferType::DepthStencil>(size_)), + : color(context.createRenderbuffer<gfx::RenderbufferPixelType::RGBA>(size_)), + depthStencil(context.createRenderbuffer<gfx::RenderbufferPixelType::DepthStencil>(size_)), framebuffer(context.createFramebuffer(color, depthStencil)) { } - gl::Renderbuffer<gl::RenderbufferType::RGBA> color; - gl::Renderbuffer<gl::RenderbufferType::DepthStencil> depthStencil; + gl::Renderbuffer<gfx::RenderbufferPixelType::RGBA> color; + gl::Renderbuffer<gfx::RenderbufferPixelType::DepthStencil> depthStencil; gl::Framebuffer framebuffer; }; |