summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/context.cpp
diff options
context:
space:
mode:
authorAleksandar Stojiljkovic <aleksandar.stojiljkovic@mapbox.com>2019-06-09 14:18:59 +0300
committerAleksandar Stojiljkovic <aleksandar.stojiljkovic@mapbox.com>2019-06-11 11:39:51 +0300
commitd7fa18efa693bcb282755d86cc2f4c3d17e908b8 (patch)
tree782db36c66bceab7868db4d1170f23795764b40f /src/mbgl/gl/context.cpp
parentdf062afe6de7ec6e4a4d3c88389bbb5279b63a06 (diff)
downloadqtlocation-mapboxgl-d7fa18efa693bcb282755d86cc2f4c3d17e908b8.tar.gz
[core] Remove unused OffscreenTexture variant with depth render target
Diffstat (limited to 'src/mbgl/gl/context.cpp')
-rw-r--r--src/mbgl/gl/context.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mbgl/gl/context.cpp b/src/mbgl/gl/context.cpp
index 626e1f4b66..3e88624d4f 100644
--- a/src/mbgl/gl/context.cpp
+++ b/src/mbgl/gl/context.cpp
@@ -437,13 +437,6 @@ Context::createOffscreenTexture(const Size size, const gfx::TextureChannelDataTy
return std::make_unique<gl::OffscreenTexture>(*this, size, type);
}
-std::unique_ptr<gfx::OffscreenTexture>
-Context::createOffscreenTexture(const Size size,
- gfx::Renderbuffer<gfx::RenderbufferPixelType::Depth>& depth,
- gfx::TextureChannelDataType type) {
- return std::make_unique<gl::OffscreenTexture>(*this, size, depth, type);
-}
-
std::unique_ptr<gfx::DrawScopeResource> Context::createDrawScopeResource() {
return std::make_unique<gl::DrawScopeResource>(createVertexArray());
}