proof of concept for retrieving a texture from a node

This commit is contained in:
itsmattkc
2019-05-22 14:57:42 +10:00
parent 41884a13b9
commit f1fb0cccd0
12 changed files with 465 additions and 459 deletions
+1
View File
@@ -96,6 +96,7 @@ int MemoryCache::RequestBufferInternal(MemoryCache::Reference *r)
buffers_.append(FramebufferObject());
refs_.append(r);
access_times_.append(time(nullptr));
buffers_.last().Create(ctx_, width_, height_);
return buffers_.size() - 1;
}