diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-03-06 18:26:32 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-03-12 11:03:54 +0100 |
commit | a7f151ab487d656340d4ace415abacf9e8cecbf9 (patch) | |
tree | 49d4ed12f2cbb8a256f4acbd6603d955f22907a2 /src/mbgl/util/offscreen_texture.hpp | |
parent | 2a25270298f358f815b22c87ece74fd3f37a42b5 (diff) | |
download | qtlocation-mapboxgl-a7f151ab487d656340d4ace415abacf9e8cecbf9.tar.gz |
[core] move Texture to the gfx namespace
Diffstat (limited to 'src/mbgl/util/offscreen_texture.hpp')
-rw-r--r-- | src/mbgl/util/offscreen_texture.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mbgl/util/offscreen_texture.hpp b/src/mbgl/util/offscreen_texture.hpp index 5dc1ad0c56..9446fabecf 100644 --- a/src/mbgl/util/offscreen_texture.hpp +++ b/src/mbgl/util/offscreen_texture.hpp @@ -8,9 +8,12 @@ namespace mbgl { namespace gl { class Context; -class Texture; } // namespace gl +namespace gfx { +class Texture; +} // namespace gfx + class OffscreenTexture { public: OffscreenTexture(gl::Context&, @@ -28,7 +31,7 @@ public: PremultipliedImage readStillImage(); - gl::Texture& getTexture(); + gfx::Texture& getTexture(); const Size& getSize() const; |