diff options
Diffstat (limited to 'src/mbgl/gl/texture.hpp')
-rw-r--r-- | src/mbgl/gl/texture.hpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/mbgl/gl/texture.hpp b/src/mbgl/gl/texture.hpp deleted file mode 100644 index 1b85ac6ebc..0000000000 --- a/src/mbgl/gl/texture.hpp +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once - -#include <mbgl/gfx/types.hpp> -#include <mbgl/gl/object.hpp> -#include <mbgl/util/size.hpp> - -namespace mbgl { -namespace gl { - -class Texture { -public: - Texture(Size size_, UniqueTexture texture_, - gfx::TextureFilterType filter_ = gfx::TextureFilterType::Nearest, - gfx::TextureMipMapType mipmap_ = gfx::TextureMipMapType::No, - gfx::TextureWrapType wrapX_ = gfx::TextureWrapType::Clamp, - gfx::TextureWrapType wrapY_ = gfx::TextureWrapType::Clamp) - : size(std::move(size_)), - texture(std::move(texture_)), - filter(filter_), - mipmap(mipmap_), - wrapX(wrapX_), - wrapY(wrapY_) {} - - Size size; - UniqueTexture texture; - gfx::TextureFilterType filter; - gfx::TextureMipMapType mipmap; - gfx::TextureWrapType wrapX; - gfx::TextureWrapType wrapY; -}; - -} // namespace gl -} // namespace mbgl |