nodes: rework so that jobs can be completely deferred
Big optimization requiring a lot of refactoring.
This commit is contained in:
@@ -31,6 +31,10 @@ Texture::~Texture()
|
||||
if (renderer_) {
|
||||
renderer_->DestroyTexture(this);
|
||||
}
|
||||
|
||||
if (job_) {
|
||||
delete job_;
|
||||
}
|
||||
}
|
||||
|
||||
void Texture::Upload(void *data, int linesize)
|
||||
|
||||
Reference in New Issue
Block a user