Add additional UploadMipMapAsync for GPUTexture update with custom row/slice pitch
This commit is contained in:
committed by
Wojtek Figat
parent
3c9a5bcf1a
commit
066a4c65bb
@@ -210,7 +210,9 @@ void FontTextureAtlas::Flush()
|
||||
// Upload data to the GPU
|
||||
BytesContainer data;
|
||||
data.Link(_data);
|
||||
_texture->UploadMipMapAsync(data, 0)->Start();
|
||||
auto task = _texture->UploadMipMapAsync(data, 0);
|
||||
if (task)
|
||||
task->Start();
|
||||
|
||||
// Clear dirty flag
|
||||
_isDirty = false;
|
||||
|
||||
Reference in New Issue
Block a user