Closed add-uos closed 1 month ago
关键摘要:
getPadStride
函数中,当content % pad == 0
时返回content
可能会导致错误,因为如果pad
是4的倍数,而content
不是4的倍数,那么content % pad
将返回0,但实际上应该返回content + pad - content % pad
。copyBuffer
函数中使用qDebug()
进行调试输出可能会导致性能问题,并且在生产环境中应该使用更安全的日志机制。getPadStride
和copyBuffer
函数缺少对输入参数的有效性检查,可能会导致未定义行为。是否建议立即修改: 是
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: add-uos, lzwind
The full list of commands accepted by this bot can be found here.
/merge
fix the blur screen in other resolution ratio
Log: fix the blur screen in other resolution ratio Bug: https://pms.uniontech.com/bug-view-266061.html