summaryrefslogtreecommitdiff
path: root/src/mbgl/util/offscreen_texture.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/offscreen_texture.hpp')
-rw-r--r--src/mbgl/util/offscreen_texture.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/util/offscreen_texture.hpp b/src/mbgl/util/offscreen_texture.hpp
index f4459556b8..1f470bd1b0 100644
--- a/src/mbgl/util/offscreen_texture.hpp
+++ b/src/mbgl/util/offscreen_texture.hpp
@@ -18,7 +18,7 @@ public:
gfx::TextureChannelDataType type = gfx::TextureChannelDataType::UnsignedByte);
OffscreenTexture(gfx::Context&,
Size size,
- gl::Renderbuffer<gl::RenderbufferType::DepthComponent>&,
+ gl::Renderbuffer<gfx::RenderbufferPixelType::Depth>&,
gfx::TextureChannelDataType type = gfx::TextureChannelDataType::UnsignedByte);
~OffscreenTexture();
OffscreenTexture(OffscreenTexture&&);