summaryrefslogtreecommitdiff
path: root/src/mbgl/util/offscreen_texture.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-03-15 13:54:42 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-03-20 15:40:47 +0100
commit52cf9a1af385113cee523ce826d7c86c8739e0a2 (patch)
tree700bfe591f1fc322376772d4a4a5c5e51b192c7d /src/mbgl/util/offscreen_texture.hpp
parent11cacb3f8c67edb5962c8785900095846a2a11bf (diff)
downloadqtlocation-mapboxgl-52cf9a1af385113cee523ce826d7c86c8739e0a2.tar.gz
[core] remove gl/context.hpp from more files, cast where necessary
Diffstat (limited to 'src/mbgl/util/offscreen_texture.hpp')
-rw-r--r--src/mbgl/util/offscreen_texture.hpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mbgl/util/offscreen_texture.hpp b/src/mbgl/util/offscreen_texture.hpp
index 9446fabecf..f4459556b8 100644
--- a/src/mbgl/util/offscreen_texture.hpp
+++ b/src/mbgl/util/offscreen_texture.hpp
@@ -6,20 +6,17 @@
namespace mbgl {
-namespace gl {
-class Context;
-} // namespace gl
-
namespace gfx {
+class Context;
class Texture;
} // namespace gfx
class OffscreenTexture {
public:
- OffscreenTexture(gl::Context&,
+ OffscreenTexture(gfx::Context&,
Size size = { 256, 256 },
gfx::TextureChannelDataType type = gfx::TextureChannelDataType::UnsignedByte);
- OffscreenTexture(gl::Context&,
+ OffscreenTexture(gfx::Context&,
Size size,
gl::Renderbuffer<gl::RenderbufferType::DepthComponent>&,
gfx::TextureChannelDataType type = gfx::TextureChannelDataType::UnsignedByte);