summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-03-20 13:48:14 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-04-05 11:49:17 +0200
commit839f4687aacb98440f85660120173c9b9895f46a (patch)
tree8b0b34ee2742b4261bc5411d1c0f8deb8e750cda /platform
parentca60095071bbc2938011957b524c511ba15ff49d (diff)
downloadqtlocation-mapboxgl-839f4687aacb98440f85660120173c9b9895f46a.tar.gz
[core] gl::RenderbufferType -> gfx::RenderbufferPixelType
Diffstat (limited to 'platform')
-rw-r--r--platform/default/src/mbgl/gl/headless_backend.cpp8
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;
};