diff options
Diffstat (limited to 'src/mbgl/gfx/context.hpp')
-rw-r--r-- | src/mbgl/gfx/context.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mbgl/gfx/context.hpp b/src/mbgl/gfx/context.hpp index fe0851be11..75670c4c59 100644 --- a/src/mbgl/gfx/context.hpp +++ b/src/mbgl/gfx/context.hpp @@ -43,9 +43,8 @@ public: virtual void reduceMemoryUsage() = 0; public: - virtual std::unique_ptr<OffscreenTexture> - createOffscreenTexture(Size, - TextureChannelDataType = TextureChannelDataType::UnsignedByte) = 0; + virtual std::unique_ptr<OffscreenTexture> createOffscreenTexture(Size, TextureChannelDataType) = 0; + public: // Creates an empty texture with the specified dimensions. Texture createTexture(const Size size, |