summaryrefslogtreecommitdiff
path: root/src/mbgl/util/offscreen_texture.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-03-06 17:27:00 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-03-12 11:03:54 +0100
commit2a25270298f358f815b22c87ece74fd3f37a42b5 (patch)
tree37e8e3c08f2531c98c962aba6fdb227ed6212e2c /src/mbgl/util/offscreen_texture.hpp
parent60ceac5efc3d77199f773f08400fe1d53d5a1b90 (diff)
downloadqtlocation-mapboxgl-2a25270298f358f815b22c87ece74fd3f37a42b5.tar.gz
[core] move Texture related enums to gfx namespace
Diffstat (limited to 'src/mbgl/util/offscreen_texture.hpp')
-rw-r--r--src/mbgl/util/offscreen_texture.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/util/offscreen_texture.hpp b/src/mbgl/util/offscreen_texture.hpp
index c2aca9bacd..5dc1ad0c56 100644
--- a/src/mbgl/util/offscreen_texture.hpp
+++ b/src/mbgl/util/offscreen_texture.hpp
@@ -15,11 +15,11 @@ class OffscreenTexture {
public:
OffscreenTexture(gl::Context&,
Size size = { 256, 256 },
- gl::TextureType type = gl::TextureType::UnsignedByte);
+ gfx::TextureChannelDataType type = gfx::TextureChannelDataType::UnsignedByte);
OffscreenTexture(gl::Context&,
Size size,
gl::Renderbuffer<gl::RenderbufferType::DepthComponent>&,
- gl::TextureType type = gl::TextureType::UnsignedByte);
+ gfx::TextureChannelDataType type = gfx::TextureChannelDataType::UnsignedByte);
~OffscreenTexture();
OffscreenTexture(OffscreenTexture&&);
OffscreenTexture& operator=(OffscreenTexture&&);