diff options
Diffstat (limited to 'src/mbgl/util/offscreen_texture.hpp')
-rw-r--r-- | src/mbgl/util/offscreen_texture.hpp | 4 |
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&&); |