Commit 32e2e47f authored by Philip Trettner's avatar Philip Trettner

added texture ctor for async tex

parent b749957c
......@@ -66,6 +66,9 @@ public:
operator std::shared_ptr<TextureT> const&() const { return texture(); }
AsyncTexture() = default;
AsyncTexture(std::shared_ptr<TextureT> tex) { mTexture = tex; }
private:
struct tdata
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment