mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-08 23:49:56 +03:00
fix(gx): walk dirty states backward when syncing
This commit is contained in:
1 file changed
+1
-1
@@ -432,7 +432,7 @@ void CGxDevice::IRsSync(int32_t force) {
|
||||
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 rs = &this->m_appRenderStates[ds];
|
||||
auto hs = &this->m_hwRenderStates[ds];
|
||||
|
||||
Reference in new issue
Block a user