GPU: The internal buffer for custom-sized layer IDs is now cleared in its entirety, rather than just most of it.
This commit is contained in:
parent
fffa7ebb8c
commit
a5b25313f8
|
@ -812,7 +812,7 @@ void GPUEngineBase::SetupBuffers()
|
||||||
{
|
{
|
||||||
if (this->_renderLineLayerIDCustom != NULL)
|
if (this->_renderLineLayerIDCustom != NULL)
|
||||||
{
|
{
|
||||||
memset(this->_renderLineLayerIDCustom, GPULayerID_Backdrop, dispInfo.customWidth * dispInfo.customHeight * sizeof(u8));
|
memset(this->_renderLineLayerIDCustom, GPULayerID_Backdrop, dispInfo.customWidth * (dispInfo.customHeight + (_gpuLargestDstLineCount * 4)) * sizeof(u8));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue