Add some missing changes
This commit is contained in:
committed by
Wojtek Figat
parent
afed5a30bc
commit
69a1e007a6
@@ -244,6 +244,7 @@ bool GPUBuffer::DownloadData(BytesContainer& result)
|
||||
// Ensure not running on main thread
|
||||
if (IsInMainThread())
|
||||
{
|
||||
// TODO: support mesh data download from GPU on a main thread during rendering
|
||||
LOG(Warning, "Cannot download GPU buffer data on a main thread. Use staging readback buffer or invoke this function from another thread.");
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user