Skip to content
Snippets Groups Projects
Commit 32e2e47f authored by Philip Trettner's avatar Philip Trettner
Browse files

added texture ctor for async tex

parent b749957c
No related branches found
No related tags found
No related merge requests found
......@@ -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
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment