Fix drawing editor thumbnails when texture used by asset is using dynamic streaming
This commit is contained in:
@@ -302,6 +302,12 @@ bool TextureBase::HasStreamingError() const
|
||||
return _texture.Streaming.Error;
|
||||
}
|
||||
|
||||
void TextureBase::SetStreamingVisible() const
|
||||
{
|
||||
if (_texture.GetTexture())
|
||||
_texture.GetTexture()->LastRenderTime = Platform::GetTimeSeconds();
|
||||
}
|
||||
|
||||
BytesContainer TextureBase::GetMipData(int32 mipIndex, int32& rowPitch, int32& slicePitch)
|
||||
{
|
||||
BytesContainer result;
|
||||
|
||||
Reference in New Issue
Block a user