mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-16 01:55:21 +03:00
fix(gx): walk dirty states backward when syncing
This commit is contained in:
parent
ecf0c43e70
commit
30964bf827
@ -432,7 +432,7 @@ void CGxDevice::IRsSync(int32_t force) {
|
|||||||
this->IRsForceUpdate();
|
this->IRsForceUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int32_t i = 0; i < this->m_dirtyStates.Count(); i++) {
|
for (int32_t i = this->m_dirtyStates.Count() - 1; i >= 0; i--) {
|
||||||
auto ds = this->m_dirtyStates[i];
|
auto ds = this->m_dirtyStates[i];
|
||||||
auto rs = &this->m_appRenderStates[ds];
|
auto rs = &this->m_appRenderStates[ds];
|
||||||
auto hs = &this->m_hwRenderStates[ds];
|
auto hs = &this->m_hwRenderStates[ds];
|
||||||
|
Loading…
Reference in New Issue
Block a user