proof of concept for retrieving a texture from a node
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user