blob: 4803f9b7f4fc4eb81ee23e49601317491a9b3864 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include <mbgl/gfx/texture.hpp>
#include <mbgl/gl/object.hpp>
namespace mbgl {
namespace gl {
class TextureResource : public gfx::TextureResource {
public:
TextureResource(UniqueTexture&& texture_) : texture(std::move(texture_)) {
}
UniqueTexture texture;
};
} // namespace gl
} // namespace mbgl
|